cxxtools::xml::EndDocument Class Reference
A Node which represents the end of the XML document. More...
#include <cxxtools/xml/enddocument.h>
Inheritance diagram for cxxtools::xml::EndDocument:

Public Member Functions | |
EndDocument () | |
Creates an EndDocument object. | |
EndDocument * | clone () const |
Clones this EndDocument object by creating a duplicate on the heap and returning it. | |
![]() | |
Node (Type type) | |
Constructs a new Node object with the specified node type. | |
virtual | ~Node () |
Empty destructor. | |
Type | type () const |
Returns the type of this Node that can be used to determine what specific Node this object is. | |
virtual bool | operator== (const Node &node) const |
Compares this Node object with the given node. |
Additional Inherited Members | |
![]() | |
enum | Type { Unknown = 0, StartDocument = 1, DocType = 2, EndDocument = 3, StartElement = 4, EndElement = 5, Characters = 6, Comment, ProcessingInstruction } |
Detailed Description
A Node which represents the end of the XML document.
The last Node/Element which is read from a document is the EndDocument-node. It is read after the last tag, Text or comment was read from the XML document. This is similar to an eof character at the end of a file read.
- See Also
- Node
Constructor & Destructor Documentation
|
inline |
Creates an EndDocument object.
Member Function Documentation
|
inlinevirtual |
Clones this EndDocument object by creating a duplicate on the heap and returning it.
- Returns
- A cloned version of this EndDocument object.
Implements cxxtools::xml::Node.
The documentation for this class was generated from the following file:
- include/cxxtools/xml/enddocument.h