cxxtools::PropertiesDeserializer Class Reference

#include <cxxtools/propertiesdeserializer.h>

Inheritance diagram for cxxtools::PropertiesDeserializer:

Public Member Functions

 PropertiesDeserializer (std::istream &in, TextCodec< Char, char > *codec=0)
 PropertiesDeserializer (std::basic_istream< Char > &in)
 PropertiesDeserializer ()
void read (std::istream &in, TextCodec< Char, char > *codec=0)
void read (std::basic_istream< Char > &in)
void envSubst (bool sw)
 Sets the envSubst flag.
bool envSubst () const
 Returns the envSubst flag.
void trim (bool sw)
 Sets the trim flag.
bool trim () const
 Returns the trim flag.
- Public Member Functions inherited from cxxtools::Deserializer
 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 begin ()
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 ()


class Ev

Additional Inherited Members

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

Constructor & Destructor Documentation

cxxtools::PropertiesDeserializer::PropertiesDeserializer ( std::istream &  in,
TextCodec< Char, char > *  codec = 0 
cxxtools::PropertiesDeserializer::PropertiesDeserializer ( std::basic_istream< Char > &  in)
cxxtools::PropertiesDeserializer::PropertiesDeserializer ( )

Member Function Documentation

void cxxtools::PropertiesDeserializer::envSubst ( bool  sw)

Sets the envSubst flag.

When set flag is set, environment variables are substituted in the value using / cxxtools::envSubst.

bool cxxtools::PropertiesDeserializer::envSubst ( ) const

Returns the envSubst flag.

void cxxtools::PropertiesDeserializer::read ( std::istream &  in,
TextCodec< Char, char > *  codec = 0 
void cxxtools::PropertiesDeserializer::read ( std::basic_istream< Char > &  in)
void cxxtools::PropertiesDeserializer::trim ( bool  sw)

Sets the trim flag.

When set flag is set, white space is removed from the beginning and end of the values.

bool cxxtools::PropertiesDeserializer::trim ( ) const

Returns the trim flag.

Friends And Related Function Documentation

friend class Ev

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