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);
EndObject & toEndObject(Node &node)
Casts a generic node to a EndObject node.
Definition EndObject.h:78
EndObject * toEndObject(Node *node)
Casts a generic node to a EndObject node.
Definition EndObject.h:60
EndObject()
Constructor.
Definition EndObject.h:47
const EndObject & toEndObject(const Node &node)
Casts a generic node to a EndObject node.
Definition EndObject.h:87
const EndObject * toEndObject(const Node *node)
Casts a generic node to a EndObject node.
Definition EndObject.h:69
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