Poco::RemotingNG

template < typename T >

class TypeSerializer

File Information

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

Description

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

Constructors

Destructor

~TypeSerializer protected

~TypeSerializer();

Member Functions

serialize static inline

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

Securely control IoT edge devices from anywhere   Connect a Device