EndDocument Class Reference

#include <Pt/Json/EndDocument.h>

Represents the end of an JSON document. More...

Inherits Node.

Public Member Functions

 EndDocument ()
 Creates an EndDocument object.
 
Type type () const
 Returns the type of the node.
 

Related Functions

EndDocumenttoEndDocument (Node *node)
 Casts a generic node to a EndDocument node.
 
const EndDocumenttoEndDocument (const Node *node)
 Casts a generic node to a EndDocument node.
 
EndDocumenttoEndDocument (Node &node)
 Casts a generic node to a EndDocument node.
 
const EndDocumenttoEndDocument (const Node &node)
 Casts a generic node to a EndDocument node.
 

Detailed Description

The last node which is read from a document is the EndDocument node. It is reported after all JSON elements in were parsed, similar to an end-of-file marker (EOF).