|
|
In correct XML the declaration is the first entry in the file. @verbatim @endverbatim
TinyXml will happily read or write files without a declaration, however. There are 3 possible attributes to the declaration: version, encoding, and standalone.
Note: In this version of the code, the attributes are handled as special cases, not generic attributes, simply because there can only be at most 3 and they are always the same.
TiXmlDeclaration ()
| TiXmlDeclaration |
TiXmlDeclaration ( const std::string& _version,
const std::string& _encoding,
const std::string& _standalone )
| TiXmlDeclaration |
TiXmlDeclaration ( const char* _version,
const char* _encoding,
const char* _standalone )
| TiXmlDeclaration |
TiXmlDeclaration ( const TiXmlDeclaration& copy )
| TiXmlDeclaration |
void operator= ( const TiXmlDeclaration& copy )
| operator= |
Reimplemented from TiXmlNode.
~TiXmlDeclaration ()
| ~TiXmlDeclaration |
[virtual]
const char * Version ()
| Version |
[const]
const char * Encoding ()
| Encoding |
[const]
const char * Standalone ()
| Standalone |
[const]
TiXmlNode* Clone ()
| Clone |
[const virtual]
Reimplemented from TiXmlNode.
void Print ( FILE* cfile, int depth )
|
[const virtual]
Reimplemented from TiXmlBase.
const char* Parse ( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding )
| Parse |
[virtual]
Reimplemented from TiXmlBase.
const TiXmlDeclaration* ToDeclaration ()
| ToDeclaration |
[const virtual]
Reimplemented from TiXmlNode.
TiXmlDeclaration* ToDeclaration ()
| ToDeclaration |
[virtual]
Reimplemented from TiXmlNode.
void CopyTo ( TiXmlDeclaration* target )
| CopyTo |
[protected const]
Reimplemented from TiXmlNode.
void StreamIn ( TIXML_ISTREAM * in, TIXML_STRING * tag )
| StreamIn |
[protected virtual]
Reimplemented from TiXmlNode.
void StreamOut ( TIXML_OSTREAM * out, bool unclosed = false )
| StreamOut |
[const virtual]
Reimplemented from TiXmlBase.
Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54. |