cxxtools::Deserializer Class Reference

convert format to SerializationInfo More...

#include <cxxtools/deserializer.h>

Inheritance diagram for cxxtools::Deserializer:
cxxtools::DeserializerBase cxxtools::bin::Deserializer cxxtools::CsvDeserializer cxxtools::JsonDeserializer cxxtools::PropertiesDeserializer cxxtools::xml::XmlDeserializer

Public Member Functions

 Deserializer ()
virtual ~Deserializer ()
template<typename T >
void deserialize (T &type)
 Deserialize an object.
template<typename T >
void deserialize (T &type, const std::string &name)
void deserialize ()
- Public Member Functions inherited from cxxtools::DeserializerBase
 DeserializerBase ()
virtual ~DeserializerBase ()
void begin ()
void clear ()
SerializationInfosi ()
const SerializationInfosi () const
SerializationInfocurrent ()
void setCategory (SerializationInfo::Category category)
void setName (const std::string &name)
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 setTypeName (const std::string &type)
void beginMember (const std::string &name, const std::string &type, SerializationInfo::Category category)
void leaveMember ()

Additional Inherited Members

- Public Types inherited from cxxtools::DeserializerBase
typedef long int_type
typedef unsigned long unsigned_type

Detailed Description

convert format to SerializationInfo

Constructor & Destructor Documentation

cxxtools::Deserializer::Deserializer ( )
inline
virtual cxxtools::Deserializer::~Deserializer ( )
inlinevirtual

Member Function Documentation

template<typename T >
void cxxtools::Deserializer::deserialize ( T &  type)
inline

Deserialize an object.

This method will deserialize the object type from an input format. The type type must be serializable.

template<typename T >
void cxxtools::Deserializer::deserialize ( T &  type,
const std::string &  name 
)
inline
void cxxtools::Deserializer::deserialize ( )
inline

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