Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCJson__Object.html below:
NCBI C++ ToolKit: CJson_Object Class Reference
void clear (void) Erase all elements of the object. More...
size_t erase (const CJson_Node::TKeyType &name) Remove an element with a given name from the object Returns the number of elements that have been removed. More...
iterator erase (const_iterator _where) Remove an element. More...
iterator erase (const_iterator _first, const_iterator _last) Remove a range of elements. More...
CJson_Node at (const CJson_Node::TKeyType &name) Access an element with a given name. More...
CJson_Node operator[] (const CJson_Node::TKeyType &name) Access an element with a given name. More...
void insert (const CJson_Node::TKeyType &name) Insert null element into the object. More...
template<typename T > void insert (const CJson_Node::TKeyType &name, const T &) Insert primitive type element into the object. More...
template<typename T > void insert (const CJson_Node::TKeyType &name, const T *) CJson_Array insert_array (const CJson_Node::TKeyType &name) Insert array type element into the object. More...
CJson_Object insert_object (const CJson_Node::TKeyType &name) Insert object type element into the object. More...
iterator begin (void) const Return an iterator that points to the first element in the object. More...
iterator end (void) const Return an iterator that points to the location after the last element. More...
iterator find (const CJson_Node::TKeyType &name) const Return an iterator that points to the location of the element. More...
~CJson_Object (void) CJson_Object (const CJson_Object &v) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
CJson_Object & operator= (const CJson_Object &v) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
template<> void insert (const CJson_Node::TKeyType &name, const bool &v) template<> void insert (const CJson_Node::TKeyType &name, const Int4 &v) template<> void insert (const CJson_Node::TKeyType &name, const Uint4 &v) template<> void insert (const CJson_Node::TKeyType &name, const Int8 &v) template<> void insert (const CJson_Node::TKeyType &name, const Uint8 &v) template<> void insert (const CJson_Node::TKeyType &name, const float &v) template<> void insert (const CJson_Node::TKeyType &name, const double &v) template<> void insert (const CJson_Node::TKeyType &name, const CJson_Node::TCharType *value) template<> void insert (const CJson_Node::TKeyType &name, const CJson_Node::TStringType &value) template<> void insert (const CJson_Node::TKeyType &name, const CJson_ConstNode &v) template<> void insert (const CJson_Node::TKeyType &name, const CJson_Node &v) template<> void insert (const CJson_Node::TKeyType &name, const CJson_ConstArray &v) template<> void insert (const CJson_Node::TKeyType &name, const CJson_Array &v) template<> void insert (const CJson_Node::TKeyType &name, const CJson_ConstObject &v) template<> void insert (const CJson_Node::TKeyType &name, const CJson_Object &v) size_t size (void) const Return the number of elements in the object. More...
bool empty (void) const Test if the object is empty. More...
CJson_ConstNode at (const CJson_Node::TKeyType &name) const Access an element with a given name. More...
CJson_ConstNode operator[] (const CJson_Node::TKeyType &name) const Access an element with a given name. More...
const_iterator begin (void) const Return an iterator that points to the first element in the object. More...
const_iterator end (void) const Return an iterator that points to the location after the last element. More...
const_iterator find (const CJson_Node::TKeyType &name) const Return an iterator that points to the location of the element. More...
bool has (const CJson_Node::TKeyType &name) const Test if an element with this name exists in the object. More...
~CJson_ConstObject (void) CJson_ConstObject (const CJson_ConstObject &v) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
CJson_ConstObject & operator= (const CJson_ConstObject &v) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
EJsonType GetType (void) const Get value type. More...
bool IsNull (void) const bool IsValue (void) const bool IsArray (void) const bool IsObject (void) const CJson_ConstValue GetValue (void) const Get JSON value contents of the node. More...
CJson_ConstArray GetArray (void) const Get JSON array contents of the node. More...
CJson_ConstObject GetObject (void) const Get JSON object contents of the node. More...
bool HasNode (const TKeyType &value) const Check if there is a node for JSON pointer. More...
CJson_ConstNode GetNode (const TKeyType &value) const Get node by JSON pointer If node not found, method throws std::out_of_range exception. More...
std::string ToString (TJson_Write_Flags flags=fJson_Write_IndentWithSpace, unsigned int indent_char_count=4) const Convert the contents of the node into string. More...
~CJson_ConstNode (void) CJson_ConstNode (const CJson_ConstNode &n) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
CJson_ConstNode & operator= (const CJson_ConstNode &n) Note: this does not copy Node data Instead, both Node object will point to the same data. More...
bool operator!= (const CJson_ConstNode &n) const bool operator== (const CJson_ConstNode &n) const CJson_Node & SetNull (void) Erase node data and convert it into JSON NULL value. More...
CJson_Value ResetValue (void) Erase node data and convert it into JSON value. More...
CJson_Value SetValue (void) Get JSON value contents of the node. More...
CJson_Array ResetArray (void) Erase node data and convert it into JSON array. More...
CJson_Array SetArray (void) Get JSON array contents of the node. More...
CJson_Object ResetObject (void) Erase node data and convert it into JSON object. More...
CJson_Object SetObject (void) Get JSON object contents of the node. More...
CJson_Node SetNode (const TKeyType &value) Get node by JSON pointer If node not found, it will be created. More...
~CJson_Node (void) CJson_Node (const CJson_Node &n) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
CJson_Node & operator= (const CJson_Node &n) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
CJson_Node & AssignCopy (const CJson_ConstNode &n) Copy Node contents data into this node. More...
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4