30#ifndef PT_JSON_INTEGER_H
31#define PT_JSON_INTEGER_H
33#include <Pt/Json/Api.h>
34#include <Pt/Json/Node.h>
62 inline static const Node::Type nodeId()
77 return nodeCast<Integer>(node);
86 return nodeCast<Integer>(node);
95 return nodeCast<Integer>(node);
104 return nodeCast<Integer>(node);
const Integer & toInteger(const Node &node)
Casts a generic node to a integer node.
Definition Integer.h:102
Integer & toInteger(Node &node)
Casts a generic node to a integer node.
Definition Integer.h:93
const Integer * toInteger(const Node *node)
Casts a generic node to a integer node.
Definition Integer.h:84
Integer()
Constructor.
Definition Integer.h:47
Integer * toInteger(Node *node)
Casts a generic node to a integer node.
Definition Integer.h:75
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