30 #ifndef PT_JSON_ENDOBJECT_H
31 #define PT_JSON_ENDOBJECT_H
33 #include <Pt/Json/Api.h>
34 #include <Pt/Json/Node.h>
52 inline static const Node::Type nodeId()
53 {
return Node::EndObject; }
62 return nodeCast<EndObject>(node);
71 return nodeCast<EndObject>(node);
80 return nodeCast<EndObject>(node);
89 return nodeCast<EndObject>(node);
96 #endif // include guard
EndObject & toEndObject(Node &node)
Casts a generic node to a EndObject node.
Definition: EndObject.h:78
EndObject()
Constructor.
Definition: EndObject.h:47
const EndObject * toEndObject(const Node *node)
Casts a generic node to a EndObject node.
Definition: EndObject.h:69
JSON document node.
Definition: Node.h:51
const EndObject & toEndObject(const Node &node)
Casts a generic node to a EndObject node.
Definition: EndObject.h:87
Represents the end of an object.
Definition: EndObject.h:42
EndObject * toEndObject(Node *node)
Casts a generic node to a EndObject node.
Definition: EndObject.h:60