cxxtools::bin::Deserializer Class Reference

#include <cxxtools/bin/deserializer.h>

Inheritance diagram for cxxtools::bin::Deserializer:
cxxtools::Deserializer

Public Types

typedef bin::Serializer::TypeCode TypeCode
- Public Types inherited from cxxtools::Deserializer
typedef long int_type
typedef unsigned long unsigned_type

Public Member Functions

 Deserializer ()
 Default construct binary deserializer.
 Deserializer (std::istream &in)
 Creates a binary deserializer and processes all input from passed stream.
void read (std::istream &in)
 Processes all input from passed stream.
void begin ()
 Initialize the binary deserializer to receive data.
bool advance (char ch)
 Process one more character.
void skip ()
 Rest of input is parsed but do not process any data.
- Public Member Functions inherited from cxxtools::Deserializer
virtual ~Deserializer ()
template<typename T >
void deserialize (T &type) const
 Deserialize an object.
template<typename T >
void deserialize (T &type, const std::string &name) const
SerializationInfosi ()
const SerializationInfosi () const
void clear ()
SerializationInfocurrent ()
const SerializationInfocurrent () const
void setCategory (SerializationInfo::Category category)
void setName (const std::string &name)
void setTypeName (const std::string &type)
void setValue (const String &value)
void setValue (const std::string &value)
void setValue (const char *value)
void setValue (bool value)
void setValue (int_type value)
void setValue (unsigned_type value)
void setValue (long double value)
void setNull ()
void beginMember (const std::string &name, const std::string &type, SerializationInfo::Category category)
void leaveMember ()

Member Typedef Documentation

Constructor & Destructor Documentation

cxxtools::bin::Deserializer::Deserializer ( )
inline

Default construct binary deserializer.

Reimplemented from cxxtools::Deserializer.

cxxtools::bin::Deserializer::Deserializer ( std::istream &  in)
inlineexplicit

Creates a binary deserializer and processes all input from passed stream.

Member Function Documentation

bool cxxtools::bin::Deserializer::advance ( char  ch)
inline

Process one more character.

Returns true, if the characters indicates the end of data.

void cxxtools::bin::Deserializer::begin ( )

Initialize the binary deserializer to receive data.

Reimplemented from cxxtools::Deserializer.

void cxxtools::bin::Deserializer::read ( std::istream &  in)

Processes all input from passed stream.

void cxxtools::bin::Deserializer::skip ( )
inline

Rest of input is parsed but do not process any data.


The documentation for this class was generated from the following file: