|
XML Library
|
The XML node type used for the top-most node. More...
#include <Document.hpp>
Public Member Functions | |
| Document () | |
| Default constructor. | |
| virtual NodeType | type () const |
| Get the real type of the node. | |
| bool | hasRootElement () const |
| Checks if the document has a root element. | |
| const ElementNodePtr | getRootElement () const |
| Get the root element. | |
| ElementNodePtr | getRootElement () |
| Get the root element. | |
Private Member Functions | |
| virtual | ~Document () |
| Destructor. | |
The XML node type used for the top-most node.
This represents the document.
Default constructor.
| XML::Document::~Document | ( | ) | [private, virtual] |
Destructor.
| NodeType XML::Document::type | ( | ) | const [inline, virtual] |
Get the real type of the node.
Implements XML::Node.
| bool XML::Document::hasRootElement | ( | ) | const |
Checks if the document has a root element.
| const ElementNodePtr XML::Document::getRootElement | ( | ) | const |
Get the root element.
Get the root element.
1.7.6.1