File Information
Library: RemotingNG
Package: Serialization
Header: Poco/RemotingNG/BinaryDeserializer.h
Description
A generic Deserializer using a proprietary binary serialization format based on the Poco::BinaryReader class. The BinaryDeserializer is used in conjunction with the BinarySerializer class.
Please see the BinarySerializer class for more information.
Inheritance
Direct Base Classes: Deserializer
All Base Classes: Deserializer, SerializerBase
Member Summary
Member Functions: deserialize, deserializeEndPoint, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, deserializeToken, findMessage, resetImpl, setupImpl
Inherited Functions: clearProperties, deserialize, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeOptionalBegin, deserializeOptionalEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, findMessage, getProperty, hasProperty, popProperty, pushAttribute, pushProperty, reset, resetImpl, setup, setupImpl
Constructors
BinaryDeserializer
Creates a BinaryDeserializer.
Destructor
~BinaryDeserializer
Destroys the BinaryDeserializer.
Member Functions
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int8 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt8 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int16 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt16 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int32 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt32 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
long & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
unsigned long & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int64 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt64 & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
float & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
double & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
bool & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
char & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
std::string & value
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
std::vector < char > & value
);
deserializeEndPoint
void deserializeEndPoint(
std::string & oid,
std::string & tid
);
Serializes the object and type ID of the service object.
deserializeMessageBegin
void deserializeMessageBegin(
const std::string & name,
SerializerBase::MessageType type
);
deserializeMessageEnd
void deserializeMessageEnd(
const std::string & name,
SerializerBase::MessageType type
);
deserializeNullableBegin
bool deserializeNullableBegin(
const std::string & name,
bool isMandatory,
bool & isNull
);
deserializeNullableEnd
void deserializeNullableEnd(
const std::string & name
);
deserializeSequenceBegin
bool deserializeSequenceBegin(
const std::string & name,
bool isMandatory,
Poco::UInt32 & lengthHint
);
deserializeSequenceEnd
void deserializeSequenceEnd(
const std::string & name
);
deserializeStructBegin
bool deserializeStructBegin(
const std::string & name,
bool isMandatory
);
deserializeStructEnd
void deserializeStructEnd(
const std::string & name
);
deserializeToken
template < typename T > T deserializeToken();
Deserializes the given value, which must be a type directly supported by Poco::BinaryReader.
findMessage
SerializerBase::MessageType findMessage(
std::string & name
);
resetImpl
void resetImpl();
setupImpl
void setupImpl(
std::istream & istr
);