|
TrueReality
v0.1.1912
|
The Base class for all the JSON classes. More...
#include <Base.h>


Public Member Functions | |
| virtual void | Clear ()=0 |
| Clears the internal JSON Root node. More... | |
| virtual Value & | GetJSONRoot ()=0 |
| Returns a reference to the internal JSON Root node. More... | |
| virtual void | PrintJSONRoot ()=0 |
| Prints out to the screen the whole JSON Root content. More... | |
| virtual bool | KeyPresent (const std::string &key) const =0 |
| Checks if the JSON Root Node has an entry with a given key present. More... | |
| virtual bool | IsNull (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a NULL. More... | |
| virtual void | SetNull (const std::string &key)=0 |
| Sets the value stored at the specific key to NULL. More... | |
| virtual bool | IsBool (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a Boolean. More... | |
| virtual bool | GetBool (const std::string &key) const =0 |
| Returns the Boolean value stored at the given key. More... | |
| virtual void | SetBool (const std::string &key, const bool &value)=0 |
| Sets the Boolean value to be stored at the given key. More... | |
| virtual bool | IsTrue (const std::string &key) const =0 |
| Checks if the value stored at the specific key is True. More... | |
| virtual bool | IsFalse (const std::string &key) const =0 |
| Checks if the value stored at the specific key is False. More... | |
| virtual bool | IsNumber (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a Number. More... | |
| virtual bool | IsInt (const std::string &key) const =0 |
| Checks if the value stored at the specific key is an Integer. More... | |
| virtual int | GetInt (const std::string &key) const =0 |
| Returns the Integer value stored at the given key. More... | |
| virtual void | SetInt (const std::string &key, const int &value)=0 |
| Sets the Integer value to be stored at the given key. More... | |
| virtual bool | IsDouble (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a Double. More... | |
| virtual double | GetDouble (const std::string &key) const =0 |
| Returns the Double value stored at the given key. More... | |
| virtual void | SetDouble (const std::string &key, const double &value)=0 |
| Sets the Double value to be stored at the given key. More... | |
| virtual bool | IsUInt (const std::string &key) const =0 |
| Checks if the value stored at the specific key is an Unsigned Integer. More... | |
| virtual unsigned int | GetUInt (const std::string &key) const =0 |
| Returns the Unsigned Integer value stored at the given key. More... | |
| virtual void | SetUInt (const std::string &key, const unsigned int &value)=0 |
| Sets the Unsigned Integer value to be stored at the given key. More... | |
| virtual bool | IsInt64 (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a 64bit Integer. More... | |
| virtual Int64 | GetInt64 (const std::string &key) const =0 |
| Returns the 64bit Integer value stored at the given key. More... | |
| virtual void | SetInt64 (const std::string &key, const Int64 &value)=0 |
| Sets the 64bit Integer value to be stored at the given key. More... | |
| virtual bool | IsUInt64 (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a 64bit Integer. More... | |
| virtual UInt64 | GetUInt64 (const std::string &key) const =0 |
| Returns the 64bit Integer value stored at the given key. More... | |
| virtual void | SetUInt64 (const std::string &key, const UInt64 &value)=0 |
| Sets the 64bit Integer value to be stored at the given key. More... | |
| virtual bool | IsFloat (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a float. More... | |
| virtual float | GetFloat (const std::string &key) const =0 |
| Returns the float value stored at the given key. More... | |
| virtual void | SetFloat (const std::string &key, const float &value)=0 |
| Sets the float value to be stored at the given key. More... | |
| virtual bool | IsString (const std::string &key) const =0 |
| Checks if the value stored at the specific key is a String. More... | |
| virtual const std::string | GetString (const std::string &key) const =0 |
| Returns the String value stored at the given key. More... | |
| virtual void | SetString (const std::string &key, const std::string &value)=0 |
| Sets the String to be stored at the given key. More... | |
| virtual bool | IsArray (const std::string &key) const =0 |
| Checks if the value stored at the specific key is an Array. More... | |
| virtual Array | GetArray (const std::string &key) const =0 |
| Returns the Array value stored at the given key. More... | |
| virtual void | SetArray (const std::string &key, Array &Array)=0 |
| Sets the Array to be stored at the given key. More... | |
| virtual bool | IsObject (const std::string &key) const =0 |
| Checks if the value stored at the specific key is an Object. More... | |
| virtual Object | GetObject (const std::string &key) const =0 |
| Returns the Object value stored at the given key. More... | |
| virtual void | SetObject (const std::string &key, Object &Object)=0 |
| Sets the Array to be stored at the given key. More... | |
The Base class for all the JSON classes.
Definition at line 61 of file trUtil/JSON/Base.h.
|
pure virtual |
Clears the internal JSON Root node.
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the Array value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the Boolean value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the Double value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the float value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the Integer value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the 64bit Integer value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns a reference to the internal JSON Root node.
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the Object value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the String value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the Unsigned Integer value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Returns the 64bit Integer value stored at the given key.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is an Array.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a Boolean.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a Double.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is False.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a float.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is an Integer.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a 64bit Integer.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a NULL.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a Number.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is an Object.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a String.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is True.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is an Unsigned Integer.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the value stored at the specific key is a 64bit Integer.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Checks if the JSON Root Node has an entry with a given key present.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Prints out to the screen the whole JSON Root content.
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the Array to be stored at the given key.
| key | The key. | |
| [in,out] | Array | The array. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the Boolean value to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the Double value to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the float value to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the Integer value to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the 64bit Integer value to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the value stored at the specific key to NULL.
| key | The key. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the Array to be stored at the given key.
| key | The key. | |
| [in,out] | Object | The object. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the String to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the Unsigned Integer value to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.
|
pure virtual |
Sets the 64bit Integer value to be stored at the given key.
| key | The key. |
| value | The value. |
Implemented in trUtil::JSON::File, and trUtil::JSON::Object.