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);
EndDocument()
Creates an EndDocument object.
Definition EndDocument.h:51
const EndDocument * toEndDocument(const Node *node)
Casts a generic node to a EndDocument node.
Definition EndDocument.h:73
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:91
EndDocument * toEndDocument(Node *node)
Casts a generic node to a EndDocument node.
Definition EndDocument.h:64
Node(Type type)
Constructs a new Node object with the specified node type.
Definition Node.h:83
Read and write JSON ducuments.
Core module.
Definition Allocator.h:33