#include <tinyxml.h>
Class diagram for TiXmlDeclaration:
Public Members | |||
![]() | ![]() | TiXmlDeclaration () | |
![]() | ![]() | Construct an empty declaration. | |
![]() | ![]() | TiXmlDeclaration ( const std::string& version, const std::string& encoding, const std::string& standalone ) | |
![]() | ![]() | Construct. | |
![]() | ![]() | const std::string& | Version () |
![]() | ![]() | Version. Will return empty if none was found. | |
![]() | ![]() | const std::string& | Encoding () |
![]() | ![]() | Encoding. Will return empty if none was found. | |
![]() | ![]() | const std::string& | Standalone () |
![]() | ![]() | Is this a standalone document? |
<?xml version="1.0" standalone="yes"?> @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.
The documentation for this class was generated from the following file: