JsonValue Class
(Utils::JsonValue)Public Types
enum | Kind { String, Double, Int, Object, ..., Unknown } |
Public Functions
virtual | ~JsonValue() |
Utils::JsonValue::Kind | kind() const |
virtual Utils::JsonArrayValue * | toArray() |
virtual Utils::JsonBooleanValue * | toBoolean() |
virtual Utils::JsonDoubleValue * | toDouble() |
virtual Utils::JsonIntValue * | toInt() |
virtual Utils::JsonNullValue * | toNull() |
virtual Utils::JsonObjectValue * | toObject() |
virtual Utils::JsonStringValue * | toString() |
Static Public Members
Utils::JsonValue * | create(const QString &s, Utils::JsonMemoryPool *pool) |
QString | kindToString(Utils::JsonValue::Kind kind) |
void | operator delete(void *) |
void | operator delete(void *, Utils::JsonMemoryPool *) |
void * | operator new(int size, Utils::JsonMemoryPool *pool) |
Protected Functions
JsonValue(Utils::JsonValue::Kind kind) |
Member Function Documentation
[protected]
JsonValue::JsonValue(Utils::JsonValue::Kind kind)
Default constructs an instance of JsonValue.
[virtual]
JsonValue::~JsonValue()
Destroys the instance of JsonValue. The destructor is virtual.