|
|
typedef std::vector< value > | array |
| |
|
typedef std::map< std::string, value > | object |
| |
|
|
| value (int type, bool) |
| |
|
| value (bool b) |
| |
|
| value (double n) |
| |
|
| value (const std::string &s) |
| |
|
| value (const array &a) |
| |
|
| value (const object &o) |
| |
|
| value (const char *s) |
| |
|
| value (const char *s, size_t len) |
| |
|
| value (const value &x) |
| |
|
value & | operator= (const value &x) |
| |
|
void | swap (value &x) throw () |
| |
|
template<typename T > |
| bool | is () const |
| |
|
template<typename T > |
| const T & | get () const |
| |
|
template<typename T > |
| T & | get () |
| |
|
template<typename T > |
| void | set (const T &) |
| |
|
bool | evaluate_as_boolean () const |
| |
|
const value & | get (size_t idx) const |
| |
|
const value & | get (const std::string &key) const |
| |
|
value & | get (size_t idx) |
| |
|
value & | get (const std::string &key) |
| |
|
bool | contains (size_t idx) const |
| |
|
bool | contains (const std::string &key) const |
| |
|
std::string | to_str () const |
| |
|
template<typename Iter > |
| void | serialize (Iter os, bool prettify=false) const |
| |
|
std::string | serialize (bool prettify=false) const |
| |
|
template<> |
| bool | is () const |
| |
|
|
template<typename T > |
| | value (const T *) |
| |
|
template<typename Iter > |
| void | _serialize (Iter os, int indent) const |
| |
|
std::string | _serialize (int indent) const |
| |
|
void | clear () |
| |
|
|
template<typename Iter > |
| static void | _indent (Iter os, int indent) |
| |
The documentation for this class was generated from the following file:
- C:/Users/Inessa/Desktop/ITU/1st Semester/Game Engine/Parroter2DOverfolder/DanishParrotEngine/DanishParrotEngine/Parroter2D/picojson.h