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);
Node(Type type)
Constructs a new Node object with the specified node type.
Definition Node.h:83
StartObject & toStartObject(Node &node)
Casts a generic node to a StartObject node.
Definition StartObject.h:78
StartObject()
Constructor.
Definition StartObject.h:47
const StartObject & toStartObject(const Node &node)
Casts a generic node to a StartObject node.
Definition StartObject.h:87
StartObject * toStartObject(Node *node)
Casts a generic node to a StartObject node.
Definition StartObject.h:60
const StartObject * toStartObject(const Node *node)
Casts a generic node to a StartObject node.
Definition StartObject.h:69
Read and write JSON ducuments.
Core module.
Definition Allocator.h:33