Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCJson__Array.html below:
NCBI C++ ToolKit: CJson_Array Class Reference
void reserve (size_t count) Reserve a minimum length of storage for the array object. More...
void clear (void) Erase all elements of the array. 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 (size_t index) Return a reference to the element at a specified location in the array If index is greater than or equal to the size of the array, the function throws std::out_of_range exception. More...
CJson_Node operator[] (size_t index) Return a reference to the element at a specified location in the array If index is greater than or equal to the size of the array, the result is undefined. More...
CJson_Node front (void) Return a reference to the first element in the array If the array is empty, the result is undefined. More...
CJson_Node back (void) Return a reference to the last element of the array. More...
void push_back (void) Add null element to the end of the array. More...
template<typename T > void push_back (const T &) Add primitive type element to the end of the array. More...
template<typename T > void push_back (const T *) CJson_Array push_back_array (void) Add array type element to the end of the array. More...
CJson_Object push_back_object (void) Add object type element to the end of the array. More...
void pop_back (void) Delete the element at the end of the array. More...
iterator begin (void) const Return a random-access iterator to the first element in the array. More...
iterator end (void) const Return a random-access iterator that points just beyond the end of the array. More...
~CJson_Array (void) CJson_Array (const CJson_Array &n) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
CJson_Array & operator= (const CJson_Array &n) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
template<> void push_back (const bool &v) template<> void push_back (const Int4 &v) template<> void push_back (const Uint4 &v) template<> void push_back (const Int8 &v) template<> void push_back (const Uint8 &v) template<> void push_back (const float &v) template<> void push_back (const double &v) template<> void push_back (const CJson_Node::TCharType *v) template<> void push_back (const CJson_Node::TStringType &value) template<> void push_back (const CJson_ConstNode &v) template<> void push_back (const CJson_Node &v) template<> void push_back (const CJson_ConstArray &v) template<> void push_back (const CJson_Array &v) template<> void push_back (const CJson_ConstObject &v) template<> void push_back (const CJson_Object &v) size_t size (void) const Return the number of elements in the array. More...
size_t capacity (void) const Return the number of elements that the array could contain without allocating more storage. More...
bool empty (void) const Test if the array is empty. More...
CJson_ConstNode at (size_t index) const Return a reference to the element at a specified location in the array If index is greater than or equal to the size of the array, the function throws std::out_of_range exception. More...
CJson_ConstNode operator[] (size_t index) const Return a reference to the element at a specified location in the array If index is greater than or equal to the size of the array, the result is undefined. More...
CJson_ConstNode front (void) const Return a reference to the first element in the array If the array is empty, the result is undefined. More...
CJson_ConstNode back (void) const Return a reference to the last element of the array. More...
const_iterator begin (void) const Return a random-access iterator to the first element in the array. More...
const_iterator end (void) const Return a random-access iterator that points just beyond the end of the array. More...
~CJson_ConstArray (void) CJson_ConstArray (const CJson_ConstArray &n) Note: this does not copy Node data Instead, both Node objects will point to the same data. More...
CJson_ConstArray & operator= (const CJson_ConstArray &n) 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