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);
const Boolean & toBoolean(const Node &node)
Casts a generic node to a boolean node.
Definition Boolean.h:102
Boolean * toBoolean(Node *node)
Casts a generic node to a boolean node.
Definition Boolean.h:75
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:93
Boolean()
Constructor.
Definition Boolean.h:47
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