#include <cxxtools/csvdeserializer.h>

Inheritance diagram for cxxtools::CsvDeserializer:
cxxtools::Deserializer cxxtools::DeserializerBase

Public Member Functions

 CsvDeserializer (std::istream &in, TextCodec< Char, char > *codec=new Utf8Codec())
 CsvDeserializer (TextIStream &in)
 ~CsvDeserializer ()
Char delimiter () const
void delimiter (Char ch)
bool readTitle () const
void readTitle (bool sw)
- Public Member Functions inherited from cxxtools::Deserializer
 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 ()

Static Public Member Functions

template<typename T >
static void toObject (std::istream &in, T &type)

Static Public Attributes

static const Char autoDelimiter

Additional Inherited Members

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

Constructor & Destructor Documentation

cxxtools::CsvDeserializer::CsvDeserializer ( std::istream &  in,
TextCodec< Char, char > *  codec = new Utf8Codec() 
)
cxxtools::CsvDeserializer::CsvDeserializer ( TextIStream in)
cxxtools::CsvDeserializer::~CsvDeserializer ( )

Member Function Documentation

Char cxxtools::CsvDeserializer::delimiter ( ) const
inline
void cxxtools::CsvDeserializer::delimiter ( Char  ch)
inline
bool cxxtools::CsvDeserializer::readTitle ( ) const
inline
void cxxtools::CsvDeserializer::readTitle ( bool  sw)
inline
template<typename T >
static void cxxtools::CsvDeserializer::toObject ( std::istream &  in,
T &  type 
)
inlinestatic

Member Data Documentation

const Char cxxtools::CsvDeserializer::autoDelimiter
static

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