Classes | |
struct | Singleton |
Base for all singleton classes. More... | |
struct | ConstSingleton |
Base for all constant singleton classes. More... | |
class | ContextT |
Memory context. More... | |
class | ProxyContext |
Proxy context. More... | |
class | StackContext |
Stack context. More... | |
struct | BaseObject |
Base class for all library objects. More... | |
struct | ManagedObject |
Base class for all library objects which require destruction. More... | |
struct | InputStream |
input stream interface More... | |
struct | OutputStream |
output stream interface More... | |
class | StringInputStream |
string input stream interface More... | |
class | ContainerOutputStream |
output stream which writes to an object which meets the STL container requirements More... | |
class | FileStreamBase |
base file stream class template More... | |
class | FileInputStream |
file input stream class More... | |
class | FileOutputStream |
file output stream class More... | |
struct | XmlCharTraitsBase |
default character traits More... | |
struct | XmlCharTraitsBase< char > |
8 bit character traits More... | |
struct | XmlCharTraitsBase< wchar_t > |
16 bit character traits More... | |
class | XmlString |
string class More... | |
struct | XmlEntity |
xml entity structure More... | |
struct | XmlEntityList |
xml entity list More... | |
class | XmlAttribute |
xml attribute class More... | |
class | XmlReader |
sequential xml reader class More... | |
class | XmlWriter |
xml writer class More... | |
class | XmlNode |
xml node class More... | |
class | XmlElement |
xml element class More... | |
class | XmlComment |
xml comment class More... | |
class | XmlTextNode |
xml text node class More... | |
class | XmlDocument |
xml document class More... | |
Enumerations | |
enum | ContextFlags { , CF_STATIC = 0x1 , CF_STATIC = 0x1 } |
enum | XmlNodeType { , XNT_UNKNOWN , XNT_ELEMENT , XNT_ELEMENT_START , XNT_ELEMENT_END , XNT_COMMENT , XNT_TEXT , XNT_DOCUMENT , XNT_UNKNOWN , XNT_ELEMENT , XNT_ELEMENT_START , XNT_ELEMENT_END , XNT_COMMENT , XNT_TEXT , XNT_DOCUMENT } |
xml node type enumeration More... | |
enum | XmlReadStatus { , XRS_OK , XRS_EOF , XRS_ERROR , XRS_OK , XRS_EOF , XRS_ERROR } |
reading status More... | |
enum | XmlReaderFlags { , XRF_DEFAULT = 0x0 , XRF_PRESERVE_SPACES = 0x1 , XRF_SKIP_COMMENTS = 0x2 , XRF_PERSISTENT_DATA = 0x4 , XRF_IGNORE_CLOSING_TAG_NAMES = 0x8 , XRF_DEFAULT = 0x0 , XRF_PRESERVE_SPACES = 0x1 , XRF_SKIP_COMMENTS = 0x2 , XRF_PERSISTENT_DATA = 0x4 , XRF_IGNORE_CLOSING_TAG_NAMES = 0x8 } |
parser flags More... | |
enum | XmlWriterFlags { , XWF_DEFAULT = 0x0 , XWF_REMEMBER_TAG_NAMES = 0x1 , XWF_NO_INDENT = 0x2 , XWF_DEFAULT = 0x0 , XWF_REMEMBER_TAG_NAMES = 0x1 , XWF_NO_INDENT = 0x2 } |
xml writer flags More... | |
enum | ContextFlags { , CF_STATIC = 0x1 , CF_STATIC = 0x1 } |
Context flags. More... | |
enum | XmlNodeType { , XNT_UNKNOWN , XNT_ELEMENT , XNT_ELEMENT_START , XNT_ELEMENT_END , XNT_COMMENT , XNT_TEXT , XNT_DOCUMENT , XNT_UNKNOWN , XNT_ELEMENT , XNT_ELEMENT_START , XNT_ELEMENT_END , XNT_COMMENT , XNT_TEXT , XNT_DOCUMENT } |
XML node types. More... | |
enum | XmlReadStatus { , XRS_OK , XRS_EOF , XRS_ERROR , XRS_OK , XRS_EOF , XRS_ERROR } |
Reading status. More... | |
enum | XmlReaderFlags { , XRF_DEFAULT = 0x0 , XRF_PRESERVE_SPACES = 0x1 , XRF_SKIP_COMMENTS = 0x2 , XRF_PERSISTENT_DATA = 0x4 , XRF_IGNORE_CLOSING_TAG_NAMES = 0x8 , XRF_DEFAULT = 0x0 , XRF_PRESERVE_SPACES = 0x1 , XRF_SKIP_COMMENTS = 0x2 , XRF_PERSISTENT_DATA = 0x4 , XRF_IGNORE_CLOSING_TAG_NAMES = 0x8 } |
Reader flags. More... | |
enum | XmlWriterFlags { , XWF_DEFAULT = 0x0 , XWF_REMEMBER_TAG_NAMES = 0x1 , XWF_NO_INDENT = 0x2 , XWF_DEFAULT = 0x0 , XWF_REMEMBER_TAG_NAMES = 0x1 , XWF_NO_INDENT = 0x2 } |
Xml writer flags. More... | |
Functions | |
template<typename _Ty> | |
int | StringCompare (const _Ty *a, const _Ty *b) |
Compares two strings. | |
template<typename _Ty> | |
int | StringCompare (const _Ty *a, const _Ty *b, int maxChars) |
Compares two strings. | |
template<typename _Dst, typename _Src> | |
_Dst * | StringCopyUnsafe (_Dst *dst, const _Src *src) |
Copies a string (unsafe). | |
template<typename _Dst, typename _Src> | |
_Dst * | StringCopy (_Dst *dst, uint size, const _Src *src) |
Copies a string. | |
template<typename _Dst, typename _Src> | |
_Dst * | StringCopy (_Dst *dst, uint size, const _Src *src, uint count) |
Copies a string. | |
template<typename _Dst, typename _Src, uint _Size> | |
_Dst * | StringCopy (_Dst(&dst)[_Size], const _Src *src) |
Copies a string. | |
template<typename _Dst, typename _Src, uint _Size> | |
_Dst * | StringCopy (_Dst(&dst)[_Size], const _Src *src, uint count) |
Copies a string. | |
template<typename _Ty> | |
int | StringLength (const _Ty *str) |
Calculates the length of a string. | |
template<typename _Ty> | |
_Ty * | StringTrim (_Ty *str, _Ty *end=0) |
Trims a string. | |
template<typename _Ty> | |
int | StringToInt (const _Ty *str, int def=0) |
Converts a string to an integer. | |
template<typename _Ty> | |
int | StringToIntHex (const _Ty *str, int def=0) |
Converts a string containing a hexadecimal to an integer. |
enum lsxml::ContextFlags |
enum lsxml::ContextFlags |
enum lsxml::XmlNodeType |
XML node types.
enum lsxml::XmlNodeType |
xml node type enumeration
Reader flags.
parser flags
enum lsxml::XmlReadStatus |
enum lsxml::XmlReadStatus |
Xml writer flags.
xml writer flags
int lsxml::StringToInt | ( | const _Ty * | str, | |
int | def = 0 | |||
) |
Converts a string to an integer.
str | the input string | |
def | value returned if an error occurs |
int lsxml::StringToIntHex | ( | const _Ty * | str, | |
int | def = 0 | |||
) |
Converts a string containing a hexadecimal to an integer.
str | the input string | |
def | value returned if an error occurs |