#include <jsonxx.h>
|
| Object () |
|
| ~Object () |
|
template<typename T > |
bool | has (const std::string &key) const |
|
template<typename T > |
T & | get (const std::string &key) |
|
template<typename T > |
const T & | get (const std::string &key) const |
|
template<typename T > |
const T & | get (const std::string &key, const typename identity< T >::type &default_value) const |
|
size_t | size () const |
|
bool | empty () const |
|
const std::map< std::string, Value * > & | kv_map () const |
|
std::string | json () const |
|
std::string | xml (unsigned format=JSONx, const std::string &header=std::string(), const std::string &attrib=std::string()) const |
|
std::string | write (unsigned format) const |
|
void | reset () |
|
bool | parse (std::istream &input) |
|
bool | parse (const std::string &input) |
|
void | import (const Object &other) |
|
void | import (const std::string &key, const Value &value) |
|
Object & | operator<< (const Value &value) |
|
Object & | operator<< (const Object &value) |
|
Object & | operator= (const Object &value) |
|
| Object (const Object &other) |
|
| Object (const std::string &key, const Value &value) |
|
template<size_t N> |
| Object (const char(&key)[N], const Value &value) |
|
template<typename T > |
Object & | operator<< (const T &value) |
|
|
static bool | parse (std::istream &input, Object &object) |
|
◆ container
◆ Object() [1/4]
jsonxx::Object::Object |
( |
| ) |
|
◆ ~Object()
jsonxx::Object::~Object |
( |
| ) |
|
◆ Object() [2/4]
jsonxx::Object::Object |
( |
const Object & |
other | ) |
|
◆ Object() [3/4]
jsonxx::Object::Object |
( |
const std::string & |
key, |
|
|
const Value & |
value |
|
) |
| |
◆ Object() [4/4]
template<size_t N>
jsonxx::Object::Object |
( |
const char(&) |
key[N], |
|
|
const Value & |
value |
|
) |
| |
|
inline |
◆ empty()
bool jsonxx::Object::empty |
( |
| ) |
const |
◆ get() [1/3]
template<typename T >
T & jsonxx::Object::get |
( |
const std::string & |
key | ) |
|
◆ get() [2/3]
template<typename T >
const T & jsonxx::Object::get |
( |
const std::string & |
key | ) |
const |
◆ get() [3/3]
template<typename T >
const T & jsonxx::Object::get |
( |
const std::string & |
key, |
|
|
const typename identity< T >::type & |
default_value |
|
) |
| const |
◆ has()
template<typename T >
bool jsonxx::Object::has |
( |
const std::string & |
key | ) |
const |
◆ import() [1/2]
void jsonxx::Object::import |
( |
const Object & |
other | ) |
|
◆ import() [2/2]
void jsonxx::Object::import |
( |
const std::string & |
key, |
|
|
const Value & |
value |
|
) |
| |
◆ json()
std::string jsonxx::Object::json |
( |
| ) |
const |
◆ kv_map()
const std::map< std::string, Value * > & jsonxx::Object::kv_map |
( |
| ) |
const |
◆ operator<<() [1/3]
Object & jsonxx::Object::operator<< |
( |
const Value & |
value | ) |
|
◆ operator<<() [2/3]
◆ operator<<() [3/3]
template<typename T >
Object & jsonxx::Object::operator<< |
( |
const T & |
value | ) |
|
|
inline |
◆ operator=()
◆ parse() [1/3]
bool jsonxx::Object::parse |
( |
std::istream & |
input | ) |
|
◆ parse() [2/3]
bool jsonxx::Object::parse |
( |
const std::string & |
input | ) |
|
◆ parse() [3/3]
bool jsonxx::Object::parse |
( |
std::istream & |
input, |
|
|
Object & |
object |
|
) |
| |
|
staticprotected |
◆ reset()
void jsonxx::Object::reset |
( |
| ) |
|
◆ size()
size_t jsonxx::Object::size |
( |
| ) |
const |
◆ write()
std::string jsonxx::Object::write |
( |
unsigned |
format | ) |
const |
◆ xml()
std::string jsonxx::Object::xml |
( |
unsigned |
format = JSONx , |
|
|
const std::string & |
header = std::string() , |
|
|
const std::string & |
attrib = std::string() |
|
) |
| const |
◆ odd
std::string jsonxx::Object::odd |
|
protected |
◆ value_map_
The documentation for this class was generated from the following files: