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);
111 #endif // nclude guard
Integer()
Constructor.
Definition: Integer.h:47
Integer & toInteger(Node &node)
Casts a generic node to a integer node.
Definition: Integer.h:93
Represents an integer.
Definition: Integer.h:42
JSON document node.
Definition: Node.h:51
const Integer * toInteger(const Node *node)
Casts a generic node to a integer node.
Definition: Integer.h:84
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:75