Poco::RemotingNG

template < typename T >

class TypeDeserializer

File Information

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

Description

TypeDeserializer is used to deserialize the content of a variable for transportation over the network.

The default TypeDeserializer template simply forwards deserialize() calls to a Deserializer. This means that deserializaation using the default template only works for types directly supported by Deserializer.

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

Member Summary

Member Functions: deserialize

Constructors

Destructor

~TypeDeserializer protected

~TypeDeserializer();

Member Functions

deserialize static inline

static bool deserialize(
    const std::string & name,
    bool isMandatory,
    Deserializer & deser,
    T & value
);

Securely control IoT edge devices from anywhere   Connect a Device