|
#include <CXmlValue.h>
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. | |
| CXmlValue & | operator= (bool v) |
| Assignment of the value. | |
| CXmlValue & | operator= (int32_t v) |
| Assignment of the value. | |
| CXmlValue & | operator= (uint32_t v) |
| Assignment of the value. | |
| CXmlValue & | operator= (int64_t v) |
| Assignment of the value. | |
| CXmlValue & | operator= (uint64_t v) |
| Assignment of the value. | |
| CXmlValue & | operator= (double v) |
| Assignment of the value. | |
| CXmlValue & | operator= (const std::string &s) |
| Assignment of the value. | |
| CXmlValue & | operator= (const char *s) |
| Assignment of the value. | |
| CXmlValue & | operator= (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. | |
A string that has converters to and from most popular types
| 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
| CXmlValue& sptk::CXmlValue::operator= | ( | const char * | s | ) | [inline] |
Assignment of the value.
| s | const char *, a new value |
| CXmlValue& sptk::CXmlValue::operator= | ( | const std::string & | s | ) | [inline] |
Assignment of the value.
| s | const std::string, a new value |
| CXmlValue& sptk::CXmlValue::operator= | ( | double | v | ) |
Assignment of the value.
| v | double, a new value |
| CXmlValue& sptk::CXmlValue::operator= | ( | uint64_t | v | ) |
Assignment of the value.
| v | int64_t, a new value |
| CXmlValue& sptk::CXmlValue::operator= | ( | int64_t | v | ) |
Assignment of the value.
| v | int64_t, a new value |
| CXmlValue& sptk::CXmlValue::operator= | ( | uint32_t | v | ) |
Assignment of the value.
| v | uint32_t, a new value |
| CXmlValue& sptk::CXmlValue::operator= | ( | int32_t | v | ) |
Assignment of the value.
| v | int32_t, a new value |
| CXmlValue& sptk::CXmlValue::operator= | ( | bool | v | ) |
Assignment of the value.
| v | bool, a new value |