#include <Pt/Xml/StartDocument.h>
A Node representing the begin of the XML document. More...
Inherits Node.
Public Member Functions | |
StartDocument () | |
Creates an empty object. | |
void | clear () |
Clears all content. | |
bool | isStandalone () const |
Returns true if the document is standalone. | |
void | setStandalone (bool alone) |
Indicates that the document is standalone. | |
Type | type () const |
Returns the type of the node. | |
Related Functions | |
StartDocument * | toStartDocument (Node *node) |
Casts a generic node to a StartDocument node. | |
const StartDocument * | toStartDocument (const Node *node) |
Casts a generic node to a StartDocument node. | |
StartDocument & | toStartDocument (Node &node) |
Casts a generic node to a StartDocument node. | |
const StartDocument & | toStartDocument (const Node &node) |
Casts a generic node to a StartDocument node. | |
StartDocument nodes are only reported when the XmlReader is configured to do so. They indicate that the XML declaration has been parsed.