|
|
| Value (Type type_) |
| |
|
| Value (TInteger integer) |
| |
|
| Value (TUInteger uinteger) |
| |
|
| Value (TReal real) |
| |
|
| Value (TBool boolean) |
| |
|
| Value (unsigned int uinteger) |
| |
|
| Value (int integer) |
| |
|
| Value (TString string) |
| |
|
| Value (TObject object) |
| |
|
| Value (TArray array) |
| |
|
template<typename T > |
| | Value (const std::vector< T > &ref) |
| |
|
| Value (const Value &other) |
| |
|
Value & | operator= (const Value &other) |
| |
|
template<typename T > |
| Value & | operator= (const T &val) |
| |
|
Value & | operator[] (const std::string &key) const |
| |
|
Value & | operator[] (const size_t index) const |
| |
|
void | reset (Type type) |
| |
|
void | reset () |
| |
|
Type | getType () const |
| |
|
TInteger | getInteger () const |
| |
|
TUInteger | getUInteger () const |
| |
|
TReal | getReal () const |
| |
|
TBool | getBool () const |
| |
|
TString | getString () const |
| |
|
Value & | getMember (TString key) const |
| |
|
size_t | getArraySize () const |
| |
|
Value & | getIndex (size_t index) const |
| |
|
template<typename T > |
| T | cast () const |
| |
|
template<typename T > |
| std::vector< T > | toVector () const |
| |
|
std::vector< std::string > | getMembers () const |
| |
|
bool | isMember (std::string key) const |
| |
|
void | setInteger (TInteger integer) |
| |
|
void | setUINteger (TUInteger uinteger) |
| |
|
void | setReal (TReal real) |
| |
|
void | setReal (TBool boolean) |
| |
|
void | setString (TString string) |
| |
|
void | setMember (TString key, Value value) |
| |
|
void | setArraySize (size_t size) |
| |
|
void | setIndex (size_t index, Value value) |
| |
|
template<> |
| int | cast () const |
| |
|
template<> |
| double | cast () const |
| |
|
template<> |
| bool | cast () const |
| |
|
|
void | checkType (Type type_) const |
| |
|
void | checkTypeReset (Type type_) |
| |
|
void | decref () |
| |
|
void | incref () |
| |
|
void | clean () |
| |
|
|
static std::string | prettyType (Type type) |
| |
|
static void | wrongType (Type actual, Type requested) |
| |
|
|
TUInteger * | refcount |
| |
|
Type | type |
| |
|
TData | data |
| |
|
|
class | Reader |
| |
|
class | Writer |
| |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/db/include/RAT/json.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/db/src/json.cc