#include <lsxml.h>
Inheritance diagram for lsxml::XmlString< _Ty >:
Public Member Functions | |
XmlString (const _Ty *begin, const _Ty *end=0) | |
Constructor. | |
XmlString (int size) | |
Constructor. Reserves space for the specified number of characters. | |
_Ty * | Data () |
Returns the string's data. | |
const _Ty * | Data () const |
Returns the string's data. | |
const _Ty * | Value () const |
Returns the string's value. | |
int | IntValue () const |
Returns the string's integer value. | |
int | Length () const |
Returns the string's length. |
Handles context allocation of strings
lsxml::XmlString< _Ty >::XmlString | ( | const _Ty * | begin, | |
const _Ty * | end = 0 | |||
) | [explicit] |
Constructor.
begin | address of the first character of the string | |
end | address of the character past the last character of the string (if 0, the address of the zero terminating character is taken) |
lsxml::XmlString< _Ty >::XmlString | ( | int | size | ) | [explicit] |
Constructor. Reserves space for the specified number of characters.
size | number of characters to allocate |
_Ty* lsxml::XmlString< _Ty >::Data | ( | ) | [inline] |
Returns the string's data.
const _Ty* lsxml::XmlString< _Ty >::Data | ( | ) | const [inline] |
Returns the string's data.
const _Ty* lsxml::XmlString< _Ty >::Value | ( | ) | const [inline] |
Returns the string's value.
This function is equivalent to Data()
int lsxml::XmlString< _Ty >::IntValue | ( | ) | const [inline] |
Returns the string's integer value.
int lsxml::XmlString< _Ty >::Length | ( | ) | const [inline] |
Returns the string's length.