XML Library
Public Member Functions | Private Member Functions
XML::Document Class Reference

The XML node type used for the top-most node. More...

#include <Document.hpp>

Inheritance diagram for XML::Document:
XML::Node XML::NodeContainer

List of all members.

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.

Detailed Description

The XML node type used for the top-most node.

This represents the document.


Constructor & Destructor Documentation

Default constructor.

XML::Document::~Document ( ) [private, virtual]

Destructor.


Member Function Documentation

NodeType XML::Document::type ( ) const [inline, virtual]

Get the real type of the node.

Implements XML::Node.

Checks if the document has a root element.

Get the root element.

Get the root element.


The documentation for this class was generated from the following files: