Open Lighting Architecture
0.9.3
|
A Bool value.
Public Member Functions | |
JsonBool (bool value) | |
Create a new JsonBool. | |
bool | operator== (const JsonValue &other) const |
Equality operator. | |
void | Accept (JsonValueVisitorInterface *visitor) |
The Accept method for the visitor pattern. | |
void | Accept (JsonValueConstVisitorInterface *visitor) const |
The Accept (const) method for the visitor pattern. | |
JsonValue * | Clone () const |
Make a copy of this JsonValue. | |
bool | Value () const |
Return the bool value. |
|
inlineexplicit |
Create a new JsonBool.
value | the bool to use. |
|
inlinevirtual |
The Accept method for the visitor pattern.
This can be used to traverse the Json Tree in a type-safe manner.
Implements ola::web::JsonValue.
|
inlinevirtual |
The Accept (const) method for the visitor pattern.
This can be used to traverse the Json Tree in a type-safe manner.
Implements ola::web::JsonValue.
|
inlinevirtual |
Equality operator.
This implements equality as defined in section 3.6 of the JSON Schema Core document.
Implements ola::web::JsonValue.