30 #ifndef Pt_Json_EndDocument_h
31 #define Pt_Json_EndDocument_h
33 #include <Pt/Json/Api.h>
34 #include <Pt/Json/Node.h>
56 inline static const Node::Type nodeId()
57 {
return Node::EndDocument; }
66 return nodeCast<EndDocument>(node);
75 return nodeCast<EndDocument>(node);
84 return nodeCast<EndDocument>(node);
93 return nodeCast<EndDocument>(node);
100 #endif // Pt_Xml_EndDocument_h
const EndDocument & toEndDocument(const Node &node)
Casts a generic node to a EndDocument node.
Definition: EndDocument.h:91
Core module.
Definition: Allocator.h:33
EndDocument()
Creates an EndDocument object.
Definition: EndDocument.h:51
Represents the end of an JSON document.
Definition: EndDocument.h:47
EndDocument * toEndDocument(Node *node)
Casts a generic node to a EndDocument node.
Definition: EndDocument.h:64
JSON document node.
Definition: Node.h:52
EndDocument & toEndDocument(Node &node)
Casts a generic node to a EndDocument node.
Definition: EndDocument.h:82
const EndDocument * toEndDocument(const Node *node)
Casts a generic node to a EndDocument node.
Definition: EndDocument.h:73