Poco::RemotingNG::REST

class RawDeserializer

File Information

Library: RemotingNG/REST
Package: REST
Header: Poco/RemotingNG/REST/RawDeserializer.h

Description

Deserialization of text-based or binary scalar values from a request body.

Inheritance

Direct Base Classes: Poco::RemotingNG::Deserializer

All Base Classes: Poco::RemotingNG::Deserializer, Poco::RemotingNG::SerializerBase

Member Summary

Member Functions: deserialize, deserializeData, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, 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

RawDeserializer

RawDeserializer(
    std::istream & stream
);

Creates the RawDeserializer using the given input stream.

Destructor

~RawDeserializer virtual

~RawDeserializer();

Destroys the RawDeserializer.

Member Functions

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int8 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt8 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int16 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt16 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int32 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt32 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    long & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    unsigned long & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int64 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt64 & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    float & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    double & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    bool & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    char & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    std::string & val
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    std::vector < char > & val
);

deserializeMessageBegin virtual

void deserializeMessageBegin(
    const std::string & name,
    SerializerBase::MessageType type
);

deserializeMessageEnd virtual

void deserializeMessageEnd(
    const std::string & name,
    SerializerBase::MessageType type
);

deserializeNullableBegin virtual

bool deserializeNullableBegin(
    const std::string & name,
    bool isMandatory,
    bool & isNull
);

deserializeNullableEnd virtual

void deserializeNullableEnd(
    const std::string & name
);

deserializeSequenceBegin virtual

bool deserializeSequenceBegin(
    const std::string & name,
    bool isMandatory,
    Poco::UInt32 & lengthHint
);

deserializeSequenceEnd virtual

void deserializeSequenceEnd(
    const std::string & name
);

deserializeStructBegin virtual

bool deserializeStructBegin(
    const std::string & name,
    bool isMandatory
);

deserializeStructEnd virtual

void deserializeStructEnd(
    const std::string & name
);

findMessage

Poco::RemotingNG::SerializerBase::MessageType findMessage(
    std::string & name
);

deserializeData protected

const std::string & deserializeData(
    const std::string & name,
    bool isMandatory,
    bool & found
);

resetImpl protected virtual

void resetImpl();

setupImpl protected virtual

void setupImpl(
    std::istream & inStream
);