TDME2
1.9.200
|
Classes | |
class | TiXmlString |
class | TiXmlOutStream |
struct | TiXmlCursor |
class | TiXmlVisitor |
Implements the interface to the "Visitor pattern" (see the Accept() method.) If you call the Accept() method, it requires being passed a TiXmlVisitor class to handle callbacks. More... | |
class | TiXmlBase |
TiXmlBase is a base class for every class in TinyXml. More... | |
class | TiXmlNode |
The parent class for everything in the Document Object Model. More... | |
class | TiXmlAttribute |
An attribute is a name-value pair. More... | |
class | TiXmlAttributeSet |
class | TiXmlElement |
The element is a container class. More... | |
class | TiXmlComment |
An XML comment. More... | |
class | TiXmlText |
XML text. More... | |
class | TiXmlDeclaration |
In correct XML the declaration is the first entry in the file. More... | |
class | TiXmlUnknown |
Any tag that tinyXml doesn't recognize is saved as an unknown. More... | |
class | TiXmlDocument |
Always the top level node. More... | |
class | TiXmlHandle |
A TiXmlHandle is a class that wraps a node pointer with null checks; this is an incredibly useful thing. More... | |
class | TiXmlPrinter |
Print to memory functionality. More... | |
class | TiXmlParsingData |
Enumerations | |
enum | { TIXML_SUCCESS , TIXML_NO_ATTRIBUTE , TIXML_WRONG_TYPE } |
enum | TiXmlEncoding { TIXML_ENCODING_UNKNOWN , TIXML_ENCODING_UTF8 , TIXML_ENCODING_LEGACY } |
Functions | |
bool | operator== (const TiXmlString &a, const TiXmlString &b) |
bool | operator< (const TiXmlString &a, const TiXmlString &b) |
bool | operator!= (const TiXmlString &a, const TiXmlString &b) |
bool | operator> (const TiXmlString &a, const TiXmlString &b) |
bool | operator<= (const TiXmlString &a, const TiXmlString &b) |
bool | operator>= (const TiXmlString &a, const TiXmlString &b) |
bool | operator== (const TiXmlString &a, const char *b) |
bool | operator== (const char *a, const TiXmlString &b) |
bool | operator!= (const TiXmlString &a, const char *b) |
bool | operator!= (const char *a, const TiXmlString &b) |
TiXmlString | operator+ (const TiXmlString &a, const TiXmlString &b) |
TiXmlString | operator+ (const TiXmlString &a, const char *b) |
TiXmlString | operator+ (const char *a, const TiXmlString &b) |
std::istream & | operator>> (std::istream &in, TiXmlNode &base) |
std::ostream & | operator<< (std::ostream &out, const TiXmlNode &base) |
std::string & | operator<< (std::string &out, const TiXmlNode &base) |
Variables | |
const int | TIXML_MAJOR_VERSION = 2 |
const int | TIXML_MINOR_VERSION = 6 |
const int | TIXML_PATCH_VERSION = 2 |
const TiXmlEncoding | TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN |
anonymous enum |
enum TiXmlEncoding |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TiXmlString tinyxml::operator+ | ( | const TiXmlString & | a, |
const TiXmlString & | b | ||
) |
TiXmlString tinyxml::operator+ | ( | const TiXmlString & | a, |
const char * | b | ||
) |
TiXmlString tinyxml::operator+ | ( | const char * | a, |
const TiXmlString & | b | ||
) |
std::istream& tinyxml::operator>> | ( | std::istream & | in, |
TiXmlNode & | base | ||
) |
Tolerant of newlines and formatting, but doesn't expect them.
Definition at line 1555 of file tinyxml.cpp.
std::ostream& tinyxml::operator<< | ( | std::ostream & | out, |
const TiXmlNode & | base | ||
) |
Note that this outputs without any newlines or formatting, as opposed to Print(), which includes tabs and new lines.
The operator<< and operator>> are not completely symmetric. Writing a node to a stream is very well defined. You'll get a nice stream of output, without any extra whitespace or newlines.
But reading is not as well defined. (As it always is.) If you create a TiXmlElement (for example) and read that from an input stream, the text needs to define an element or junk will result. This is true of all input streams, but it's worth keeping in mind.
A TiXmlDocument will read nodes until it reads a root element, and all the children of that root element.
Definition at line 1566 of file tinyxml.cpp.
std::string& tinyxml::operator<< | ( | std::string & | out, |
const TiXmlNode & | base | ||
) |
Definition at line 1577 of file tinyxml.cpp.
const TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN |