template < typename T >

class TypeSerializer

Library: RemotingNG
Package: Serialization
Header: Poco/RemotingNG/TypeSerializer.h


TypeSerializer is used to serialize the content of a variable for transportation over the network.

The default TypeSerializer template simply forwards serialize() calls to a Serializer. This means that serializaation using the default template only works for types directly supported by Serializer.

Serialization of complex types can be done by providing specializations of the TypeSerializer class template.

Member Summary

Member Functions: serialize



~TypeSerializer protected


Member Functions

serialize static inline

static void serialize(
    const std::string & name,
    const T & value,
    Serializer & ser