XML Library
|
The XML node type used for the document type. More...
#include <DocTypeNode.hpp>
Public Member Functions | |
DocTypeNode () | |
Default constructor. | |
DocTypeNode (const tstring &strDeclaration) | |
Construction from a string declaration. | |
virtual NodeType | type () const |
Get the real type of the node. | |
const tstring & | declaration () const |
Get the declaration. | |
void | setDeclaration (const tstring &strDeclaration) |
Set the declaration. | |
Private Member Functions | |
virtual | ~DocTypeNode () |
Destructor. | |
Private Attributes | |
tstring | m_strDeclaration |
The string declaration. |
The XML node type used for the document type.
The document type details are stored as a single string and not parsed.
Default constructor.
XML::DocTypeNode::DocTypeNode | ( | const tstring & | strDeclaration | ) |
Construction from a string declaration.
XML::DocTypeNode::~DocTypeNode | ( | ) | [private, virtual] |
Destructor.
NodeType XML::DocTypeNode::type | ( | ) | const [inline, virtual] |
Get the real type of the node.
Implements XML::Node.
const tstring & XML::DocTypeNode::declaration | ( | ) | const [inline] |
Get the declaration.
void XML::DocTypeNode::setDeclaration | ( | const tstring & | strDeclaration | ) | [inline] |
Set the declaration.
tstring XML::DocTypeNode::m_strDeclaration [private] |
The string declaration.