File Information
Library: RemotingNG/REST
Package: REST
Header: Poco/RemotingNG/REST/Deserializer.h
Description
The Deserializer implementation for the REST Transport.
For more information, please see the Serializer documentation.
Inheritance
Direct Base Classes: Poco::RemotingNG::Deserializer
All Base Classes: Poco::RemotingNG::Deserializer, Poco::RemotingNG::SerializerBase
Member Summary
Member Functions: associateSerializer, deserialize, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeOptionalBegin, deserializeOptionalEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, findMessage, resetImpl, setRequest, setResponse, setupImpl, subDeserializer
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
Deserializer
Deserializer();
Creates the Deserializer.
Destructor
~Deserializer
~Deserializer();
Destroys the Deserializer.
Member Functions
associateSerializer
void associateSerializer(
Serializer & ser
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int8 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt8 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int16 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt16 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int32 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt32 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
long & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
unsigned long & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int64 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt64 & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
float & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
double & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
bool & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
char & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
std::string & val
);
deserialize
bool deserialize(
const std::string & name,
bool isMandatory,
std::vector < char > & val
);
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
);
deserializeOptionalBegin
bool deserializeOptionalBegin(
const std::string & name,
bool isMandatory,
bool & isSpecified
);
deserializeOptionalEnd
void deserializeOptionalEnd(
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
);
findMessage
Poco::RemotingNG::SerializerBase::MessageType findMessage(
std::string & name
);
setRequest
void setRequest(
Poco::Net::HTTPRequest & request
);
Sets the HTTP request object.
setResponse
void setResponse(
Poco::Net::HTTPResponse & response
);
Sets the HTTP response object.
resetImpl
void resetImpl();
setupImpl
void setupImpl(
std::istream & inStream
);
subDeserializer
Poco::SharedPtr < Poco::RemotingNG::Deserializer > subDeserializer();