StRoot
1
|
Public Types | |
typedef std::vector< value > | array |
typedef std::map< std::string, value > | object |
typedef std::vector< value > | array |
typedef std::map< std::string, value > | object |
Public Member Functions | |
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) |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T & | get () const |
template<typename T > | |
T & | get () |
bool | evaluate_as_boolean () const |
const value & | get (size_t idx) const |
const value & | get (const std::string &key) const |
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) const |
std::string | serialize () const |
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) |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T & | get () const |
template<typename T > | |
T & | get () |
bool | evaluate_as_boolean () const |
const value & | get (size_t idx) const |
const value & | get (const std::string &key) const |
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) const |
std::string | serialize () const |
Definition at line 65 of file picojson.h.