sptk2 logo
SPTK Home Page

sptk::CXmlValue Class Reference
[XML]

XML value. More...

#include <CXmlValue.h>

List of all members.

Public Member Functions

 CXmlValue ()
 Default constructor.
 CXmlValue (const char *v)
 Constructor.
 CXmlValue (std::string v)
 Constructor.
 CXmlValue (int32_t v)
 Constructor.
 CXmlValue (uint32_t v)
 Constructor.
 CXmlValue (int64_t v)
 Constructor.
 CXmlValue (uint64_t v)
 Constructor.
 CXmlValue (double v)
 Constructor.
 CXmlValue (bool v)
 Constructor.
 CXmlValue (CDateTime v)
 Constructor.
CXmlValueoperator= (bool v)
 Assignment of the value.
CXmlValueoperator= (int32_t v)
 Assignment of the value.
CXmlValueoperator= (uint32_t v)
 Assignment of the value.
CXmlValueoperator= (int64_t v)
 Assignment of the value.
CXmlValueoperator= (uint64_t v)
 Assignment of the value.
CXmlValueoperator= (double v)
 Assignment of the value.
CXmlValueoperator= (const std::string &s)
 Assignment of the value.
CXmlValueoperator= (const char *s)
 Assignment of the value.
CXmlValueoperator= (CDateTime s)
 Assignment of the value.
 operator uint32_t () const
 Returns the value with the conversion.
 operator int32_t () const
 Returns the value with the conversion.
 operator uint64_t () const
 Returns the value with the conversion.
 operator int64_t () const
 Returns the value with the conversion.
 operator bool () const
 Returns the value with the conversion.
 operator double () const
 Returns the value with the conversion.


Detailed Description

XML value.

A string that has converters to and from most popular types


Constructor & Destructor Documentation

sptk::CXmlValue::CXmlValue (  )  [inline]

Default constructor.

Creates an empty XML attribute

sptk::CXmlValue::CXmlValue ( const char *  v  )  [inline]

Constructor.

Creates an XML attribute from character string

sptk::CXmlValue::CXmlValue ( std::string  v  )  [inline]

Constructor.

Creates an XML attribute from std::string

sptk::CXmlValue::CXmlValue ( int32_t  v  )  [inline]

Constructor.

Creates an XML attribute from integer

sptk::CXmlValue::CXmlValue ( uint32_t  v  )  [inline]

Constructor.

Creates an XML attribute from integer

sptk::CXmlValue::CXmlValue ( int64_t  v  )  [inline]

Constructor.

Creates an XML attribute from int32_t

sptk::CXmlValue::CXmlValue ( uint64_t  v  )  [inline]

Constructor.

Creates an XML attribute from uint32_t

sptk::CXmlValue::CXmlValue ( double  v  )  [inline]

Constructor.

Creates an XML attribute from double

sptk::CXmlValue::CXmlValue ( bool  v  )  [inline]

Constructor.

Creates an XML attribute from bool

sptk::CXmlValue::CXmlValue ( CDateTime  v  )  [inline]

Constructor.

Creates an XML attribute from CDateTime


Member Function Documentation

CXmlValue& sptk::CXmlValue::operator= ( CDateTime  s  )  [inline]

Assignment of the value.

Parameters:
s CDateTime, a new value

CXmlValue& sptk::CXmlValue::operator= ( const char *  s  )  [inline]

Assignment of the value.

Parameters:
s const char *, a new value

CXmlValue& sptk::CXmlValue::operator= ( const std::string &  s  )  [inline]

Assignment of the value.

Parameters:
s const std::string, a new value

CXmlValue& sptk::CXmlValue::operator= ( double  v  ) 

Assignment of the value.

Parameters:
v double, a new value

CXmlValue& sptk::CXmlValue::operator= ( uint64_t  v  ) 

Assignment of the value.

Parameters:
v int64_t, a new value

CXmlValue& sptk::CXmlValue::operator= ( int64_t  v  ) 

Assignment of the value.

Parameters:
v int64_t, a new value

CXmlValue& sptk::CXmlValue::operator= ( uint32_t  v  ) 

Assignment of the value.

Parameters:
v uint32_t, a new value

CXmlValue& sptk::CXmlValue::operator= ( int32_t  v  ) 

Assignment of the value.

Parameters:
v int32_t, a new value

CXmlValue& sptk::CXmlValue::operator= ( bool  v  ) 

Assignment of the value.

Parameters:
v bool, a new value


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

Mon Mar 5 11:56:23 2012: SPTK 3.5.7