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