versadac  1
versadac - Scalable Recorder Firmware
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
JSONNode Class Reference

Public Member Functions

 LIBJSON_OBJECT (JSONNode)
 
 JSONNode (char mytype=JSON_NODE) json_nothrow json_hot
 
 JSONNode (const JSONNode &orig) json_nothrow json_hot
 
json_index_t size (void) const json_nothrow json_read_priority
 
bool empty (void) const json_nothrow json_read_priority
 
void clear (void) json_nothrow json_cold
 
unsigned char type (void) const json_nothrow json_read_priority
 
json_string name (void) const json_nothrow json_read_priority
 
void set_name (const json_string &newname) json_nothrow json_write_priority
 
void preparse (void) json_nothrow json_read_priority
 
json_string as_string (void) const json_nothrow json_read_priority
 
json_int_t as_int (void) const json_nothrow json_read_priority
 
json_number as_float (void) const json_nothrow json_read_priority
 
bool as_bool (void) const json_nothrow json_read_priority
 
JSONNode as_node (void) const json_nothrow json_read_priority
 
JSONNode as_array (void) const json_nothrow json_read_priority
 
void cast (char newtype) json_nothrow
 
std::string as_binary (void) const json_nothrow json_cold
 
void set_binary (const unsigned char *bin, size_t bytes) json_nothrow json_cold
 
const JSONNodeoperator[] (json_index_t pos) const json_nothrow
 
const JSONNodeoperator[] (const json_string &name_t) const json_nothrow
 
void push_back (JSONNode *node) json_nothrow
 
void reserve (json_index_t siz) json_nothrow
 
void nullify (void) json_nothrow
 
void swap (JSONNode &other) json_nothrow
 
void merge (JSONNode &other) json_nothrow json_cold
 
void merge (unsigned int num,...) json_nothrow json_cold
 
JSONNode duplicate (void) const json_nothrow
 
json_string write (size_t approxsize=DEFAULT_APPROX_SIZE) const json_nothrow json_write_priority
 
json_string write_formatted (size_t approxsize=DEFAULT_APPROX_SIZE_FORMATTED) const json_nothrow json_write_priority
 
 JSONNode (const json_string &unparsed) json_nothrow
 
 JSONNode (internalJSONNode *internal_t) json_nothrow
 
 JSONNode (bool, JSONNode &orig) json_nothrow json_hot
 
void decRef (void) json_nothrow json_hot
 
void makeUniqueInternal (void) json_nothrow
 
void merge (JSONNode *other) json_nothrow json_cold
 
void clear_name (void) json_nothrow
 

Static Public Member Functions

static void deleteJSONNode (JSONNode *ptr) json_nothrow json_hot
 
static JSONNodenewJSONNode_Shallow (const JSONNode &orig) json_hot
 
static JSON_PRIVATE JSONNodenewJSONNode (const JSONNode &orig JSON_MUTEX_COPY_DECL2) json_hot
 
static JSONNodenewJSONNode (internalJSONNode *internal_t) json_hot
 

Public Attributes

JSONNode &at(json_index_t pos) json_throws(std const JSONNode &at(json_index_t pos) const json_throws(std JSONNodeoperator[] (json_index_t pos) json_nothrow
 
JSONNode &at(const json_string &name_t) json_throws(std const JSONNode &at(const json_string &name_t) const json_throws(std JSONNode &at_nocase(const json_string &name_t) json_throws(std const JSONNode &at_nocase(const json_string &name_t) const json_throws(std JSONNodeoperator[] (const json_string &name_t) json_nothrow
 
JSONNode JSON_PTR_LIB pop_back(json_index_t pos) json_throws(std JSONNode JSON_PTR_LIB pop_back(const json_string &name_t) json_throws(std JSONNode JSON_PTR_LIB pop_back_nocase(const json_string &name_t) json_throws(std JSONNodeoperator= (const JSONNode &) json_nothrow
 
internalJSONNodeinternal
 

Friends

class JSONWorker
 
class internalJSONNode
 

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