automotive-message-broker  0.14.803
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
picojson::value Class Reference

Classes

union  _storage
 

Public Types

typedef std::vector< valuearray
 
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)
 
valueoperator= (const value &x)
 
void swap (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 valueget (size_t idx) const
 
const valueget (const std::string &key) const
 
valueget (size_t idx)
 
valueget (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
 

Protected Attributes

int type_
 
_storage u_
 

The documentation for this class was generated from the following file: