30 #ifndef PT_JSON_BOOLEAN_H
31 #define PT_JSON_BOOLEAN_H
33 #include <Pt/Json/Api.h>
34 #include <Pt/Json/Node.h>
62 inline static const Node::Type nodeId()
77 return nodeCast<Boolean>(node);
86 return nodeCast<Boolean>(node);
95 return nodeCast<Boolean>(node);
104 return nodeCast<Boolean>(node);
111 #endif // nclude guard
const Boolean * toBoolean(const Node *node)
Casts a generic node to a boolean node.
Definition: Boolean.h:84
Boolean * toBoolean(Node *node)
Casts a generic node to a boolean node.
Definition: Boolean.h:75
JSON document node.
Definition: Node.h:51
const Boolean & toBoolean(const Node &node)
Casts a generic node to a boolean node.
Definition: Boolean.h:102
Represents a boolean.
Definition: Boolean.h:42
Boolean()
Constructor.
Definition: Boolean.h:47
Boolean & toBoolean(Node &node)
Casts a generic node to a boolean node.
Definition: Boolean.h:93