Classes | |
class | TiXmlString |
class | TiXmlOutStream |
struct | TiXmlCursor |
class | TiXmlVisitor |
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 | |
TiXmlString | operator+ (const TiXmlString &a, const TiXmlString &b) |
TiXmlString | operator+ (const TiXmlString &a, const char *b) |
TiXmlString | operator+ (const char *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 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) |
FILE * | TiXmlFOpen (const char *filename, const char *mode) |
Variables | |
const int | TIXML_MAJOR_VERSION = 2 |
const int | TIXML_MINOR_VERSION = 5 |
const int | TIXML_PATCH_VERSION = 3 |
const TiXmlEncoding | TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN |
const unsigned char | TIXML_UTF_LEAD_0 = 0xefU |
const unsigned char | TIXML_UTF_LEAD_1 = 0xbbU |
const unsigned char | TIXML_UTF_LEAD_2 = 0xbfU |
anonymous enum |
Definition at line 161 of file tiny/tmp/OBTtinyxml.h.
00162 { 00163 TIXML_SUCCESS, 00164 TIXML_NO_ATTRIBUTE, 00165 TIXML_WRONG_TYPE 00166 };
Definition at line 170 of file tiny/tmp/OBTtinyxml.h.
00171 { 00172 TIXML_ENCODING_UNKNOWN, 00173 TIXML_ENCODING_UTF8, 00174 TIXML_ENCODING_LEGACY 00175 };
bool xmlTiny::operator!= | ( | const char * | a, | |
const TiXmlString & | b | |||
) | [inline] |
bool xmlTiny::operator!= | ( | const TiXmlString & | a, | |
const char * | b | |||
) | [inline] |
bool xmlTiny::operator!= | ( | const TiXmlString & | a, | |
const TiXmlString & | b | |||
) | [inline] |
TiXmlString xmlTiny::operator+ | ( | const char * | a, | |
const TiXmlString & | b | |||
) |
Definition at line 107 of file tmp/OBTtinystr.cpp.
References xmlTiny::TiXmlString::append(), xmlTiny::TiXmlString::length(), and xmlTiny::TiXmlString::reserve().
00108 { 00109 TiXmlString tmp; 00110 TiXmlString::size_type a_len = static_cast<TiXmlString::size_type>( strlen(a) ); 00111 tmp.reserve(a_len + b.length()); 00112 tmp.append(a, a_len); 00113 tmp += b; 00114 return tmp; 00115 }
TiXmlString xmlTiny::operator+ | ( | const TiXmlString & | a, | |
const char * | b | |||
) |
Definition at line 97 of file tmp/OBTtinystr.cpp.
References xmlTiny::TiXmlString::append(), xmlTiny::TiXmlString::length(), and xmlTiny::TiXmlString::reserve().
00098 { 00099 TiXmlString tmp; 00100 TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) ); 00101 tmp.reserve(a.length() + b_len); 00102 tmp += a; 00103 tmp.append(b, b_len); 00104 return tmp; 00105 }
TiXmlString xmlTiny::operator+ | ( | const TiXmlString & | a, | |
const TiXmlString & | b | |||
) |
Definition at line 88 of file tmp/OBTtinystr.cpp.
References xmlTiny::TiXmlString::length(), and xmlTiny::TiXmlString::reserve().
00089 { 00090 TiXmlString tmp; 00091 tmp.reserve(a.length() + b.length()); 00092 tmp += a; 00093 tmp += b; 00094 return tmp; 00095 }
bool xmlTiny::operator< | ( | const TiXmlString & | a, | |
const TiXmlString & | b | |||
) | [inline] |
bool xmlTiny::operator<= | ( | const TiXmlString & | a, | |
const TiXmlString & | b | |||
) | [inline] |
bool xmlTiny::operator== | ( | const char * | a, | |
const TiXmlString & | b | |||
) | [inline] |
bool xmlTiny::operator== | ( | const TiXmlString & | a, | |
const char * | b | |||
) | [inline] |
bool xmlTiny::operator== | ( | const TiXmlString & | a, | |
const TiXmlString & | b | |||
) | [inline] |
Definition at line 270 of file tmp/OBTtinystr.h.
References xmlTiny::TiXmlString::c_str(), and xmlTiny::TiXmlString::length().
00271 { 00272 return ( a.length() == b.length() ) // optimization on some platforms 00273 && ( strcmp(a.c_str(), b.c_str()) == 0 ); // actual compare 00274 }
bool xmlTiny::operator> | ( | const TiXmlString & | a, | |
const TiXmlString & | b | |||
) | [inline] |
bool xmlTiny::operator>= | ( | const TiXmlString & | a, | |
const TiXmlString & | b | |||
) | [inline] |
FILE* xmlTiny::TiXmlFOpen | ( | const char * | filename, | |
const char * | mode | |||
) |
Definition at line 41 of file tiny/tmp/OBTtinyxml.cpp.
Referenced by xmlTiny::TiXmlDocument::LoadFile(), and xmlTiny::TiXmlDocument::SaveFile().
00042 { 00043 #if defined(_MSC_VER) && (_MSC_VER >= 1400 ) 00044 FILE* fp = 0; 00045 errno_t err = fopen_s( &fp, filename, mode ); 00046 if ( !err && fp ) 00047 return fp; 00048 return 0; 00049 #else 00050 return fopen( filename, mode ); 00051 #endif 00052 }
const TiXmlEncoding xmlTiny::TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN |
Definition at line 177 of file tiny/tmp/OBTtinyxml.h.
const int xmlTiny::TIXML_MAJOR_VERSION = 2 |
Definition at line 100 of file tiny/tmp/OBTtinyxml.h.
const int xmlTiny::TIXML_MINOR_VERSION = 5 |
Definition at line 101 of file tiny/tmp/OBTtinyxml.h.
const int xmlTiny::TIXML_PATCH_VERSION = 3 |
Definition at line 102 of file tiny/tmp/OBTtinyxml.h.
const unsigned char xmlTiny::TIXML_UTF_LEAD_0 = 0xefU |
Definition at line 64 of file tiny/tmp/OBTtinyxmlparser.cpp.
Referenced by xmlTiny::TiXmlDocument::Parse(), xmlTiny::TiXmlDocument::SaveFile(), xmlTiny::TiXmlBase::SkipWhiteSpace(), and xmlTiny::TiXmlParsingData::Stamp().
const unsigned char xmlTiny::TIXML_UTF_LEAD_1 = 0xbbU |
Definition at line 65 of file tiny/tmp/OBTtinyxmlparser.cpp.
Referenced by xmlTiny::TiXmlDocument::Parse(), xmlTiny::TiXmlDocument::SaveFile(), xmlTiny::TiXmlBase::SkipWhiteSpace(), and xmlTiny::TiXmlParsingData::Stamp().
const unsigned char xmlTiny::TIXML_UTF_LEAD_2 = 0xbfU |
Definition at line 66 of file tiny/tmp/OBTtinyxmlparser.cpp.
Referenced by xmlTiny::TiXmlDocument::Parse(), xmlTiny::TiXmlDocument::SaveFile(), xmlTiny::TiXmlBase::SkipWhiteSpace(), and xmlTiny::TiXmlParsingData::Stamp().