|
| Data (const char *data, size_t size, const std::string &mimeType, bool adopt=false) |
|
| Data (bool atom) |
|
template<typename T > |
| Data (T value, typename std::enable_if<!std::is_base_of< Data, T >::value >::type *=nullptr) |
|
template<typename T > |
| Data (T value, Type type, typename std::enable_if<!std::is_base_of< Data, T >::value >::type *=nullptr) |
|
std::string | asJSON () const |
|
const Data | at (const std::string &key) const |
|
const Data | at (const char *key) const |
|
bool | empty () const |
|
std::list< Data > | getArray () |
|
std::string | getAtom () const |
|
Blob | getBinary () |
|
std::map< std::string, Data > | getCompound () |
|
Type | getType () |
|
bool | hasKey (const std::string &key) const |
|
const Data | item (const size_t index) const |
|
void | merge (const Data &other) |
|
| operator std::list< Data > () |
|
| operator std::map< std::string, Data > () |
|
| operator std::string () const |
|
bool | operator!= (const Data &other) const |
|
bool | operator< (const Data &other) const |
|
bool | operator== (const Data &other) const |
|
Data & | operator[] (const std::string &key) |
|
const Data & | operator[] (const std::string &key) const |
|
Data & | operator[] (const char *key) |
|
const Data & | operator[] (const char *key) const |
|
Data & | operator[] (const size_t index) |
|
void | put (std::string key, const Data &data) |
|
void | put (size_t index, const Data &data) |
|
void | setArray (const std::list< Data > &array) |
|
void | setAtom (const std::string &atom) |
|
void | setBinary (const Blob &binary) |
|
void | setCompound (const std::map< std::string, Data > &compound) |
|
void | setType (const Type type) |
|