![]() |
Open Lighting Architecture 0.10.9
|
A raw value, useful if you want to cheat.
Public Member Functions | |
| JsonRawValue (const std::string &value) | |
| Create a new JsonRawValue. | |
| 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. | |
| const std::string & | Value () const |
| Return the raw value as a string. | |
Public Member Functions inherited from ola::web::JsonValue | |
| virtual JsonValue * | LookupElement (const JsonPointer &pointer) |
| Locate the JsonValue referred to by the JSON Pointer. | |
| virtual bool | operator!= (const JsonValue &other) const |
| Not-equals operator. | |
|
inlineexplicit |
Create a new JsonRawValue.
| value | the raw data to insert. |
|
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 |
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 |
Make a copy of this JsonValue.
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.