30#ifndef PT_JSON_ENDARRAY_H
31#define PT_JSON_ENDARRAY_H
33#include <Pt/Json/Api.h>
34#include <Pt/Json/Node.h>
52 inline static const Node::Type nodeId()
53 {
return Node::EndArray; }
62 return nodeCast<EndArray>(node);
71 return nodeCast<EndArray>(node);
80 return nodeCast<EndArray>(node);
89 return nodeCast<EndArray>(node);
const EndArray & toEndArray(const Node &node)
Casts a generic node to a EndArray node.
Definition EndArray.h:87
EndArray * toEndArray(Node *node)
Casts a generic node to a EndArray node.
Definition EndArray.h:60
EndArray()
Constructor.
Definition EndArray.h:47
EndArray & toEndArray(Node &node)
Casts a generic node to a EndArray node.
Definition EndArray.h:78
const EndArray * toEndArray(const Node *node)
Casts a generic node to a EndArray node.
Definition EndArray.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