JSvalue(3)

NAME
JSvalue

SYNOPSIS

#include <json.h>

  Public Member Functions
JSvalue ()
JSvalue (JStype tp)
JSvalue (bool tf)
JSvalue (const char *val)
JSvalue (const string &val)
JSvalue (const int &val)
JSvalue (const unsigned int &val)
JSvalue (const long &val)
JSvalue (const unsigned long &val)
JSvalue (const float &val)
JSvalue (const double &val)
template<typename T > JSvalue (const vector< T > &arr)
JSvalue (const map< string, JSvalue > &mp)
const JStype & type () const
size_t size ()
void clear ()
long memory ()
string & value ()
bool & boolean ()
long & integer ()
double & real ()
vector< JSvalue > & array ()
JSvalue & operator[] (long j)
vector< long > array_integer ()
vector< double > array_real ()
JSvalue & front ()
JSvalue & back ()
vector< JSvalue >::iterator begin ()
vector< JSvalue >::iterator end ()
vector< JSvalue >::iterator erase (long j)
vector< JSvalue >::iterator erase (vector< JSvalue >::iterator first, vector< JSvalue >::iterator last)
void push_back (const JSvalue &val)
map< string, JSvalue > & object ()
JSvalue & operator[] (string tag)
JSvalue & object (string tag)
JSvalue & at (string tag)
bool exists (string tag)
long erase (string tag)
map< string, JSvalue >::iterator object_begin ()
map< string, JSvalue >::iterator object_end ()
map< string, JSvalue >::iterator erase (map< string, JSvalue >::iterator first, map< string, JSvalue >::iterator last)
map< string, JSvalue >::iterator lower_bound (string &s)
map< string, JSvalue >::iterator upper_bound (string &s)
bool & boolean (string &tag)
long & integer (string &tag)
double & real (string &tag)
vector< JSvalue > & array (string &tag)
bool operator== (string val)
bool operator!= (string val)
void operator *= (double d)
vector< JSvalue * > operator() (string &jsonpath)
void qdots (string &jsonpath, vector< JSvalue * > &qarr)
void qbrackets (string &jsonpath, vector< JSvalue * > &qarr)
void write (string &filename)

Detailed Description

Definition at line 53 of file json.h.

Constructor & Destructor Documentation

  JSvalue::JSvalue () [inline]

Definition at line 88 of file json.h.

  JSvalue::JSvalue (JStype tp) [inline]

Definition at line 89 of file json.h.

  JSvalue::JSvalue (bool tf) [inline]

Definition at line 90 of file json.h.

  JSvalue::JSvalue (const char * val) [inline]

Definition at line 91 of file json.h.

  JSvalue::JSvalue (const string & val) [inline]

Definition at line 92 of file json.h.

  JSvalue::JSvalue (const int & val) [inline]

Definition at line 93 of file json.h.

  JSvalue::JSvalue (const unsigned int & val) [inline]

Definition at line 94 of file json.h.

  JSvalue::JSvalue (const long & val) [inline]

Definition at line 95 of file json.h.

  JSvalue::JSvalue (const unsigned long & val) [inline]

Definition at line 96 of file json.h.

  JSvalue::JSvalue (const float & val) [inline]

Definition at line 97 of file json.h.

  JSvalue::JSvalue (const double & val) [inline]

Definition at line 98 of file json.h.

  template<typename T > JSvalue::JSvalue (const vector< T > & arr) [inline]

Definition at line 100 of file json.h.

  JSvalue::JSvalue (const map< string, JSvalue > & mp) [inline]

Definition at line 105 of file json.h.

Member Function Documentation

  vector<JSvalue>& JSvalue::array () [inline]

Definition at line 151 of file json.h.

  vector<JSvalue>& JSvalue::array (string & tag) [inline]

Definition at line 242 of file json.h.

  vector<long> JSvalue::array_integer () [inline]

Definition at line 159 of file json.h.

  vector<double> JSvalue::array_real () [inline]

Definition at line 166 of file json.h.

  JSvalue& JSvalue::at (string tag) [inline]

Definition at line 210 of file json.h.

  JSvalue& JSvalue::back () [inline]

Definition at line 177 of file json.h.

  vector<JSvalue>::iterator JSvalue::begin () [inline]

Definition at line 181 of file json.h.

  bool& JSvalue::boolean () [inline]

Definition at line 132 of file json.h.

  bool& JSvalue::boolean (string & tag) [inline]

Definition at line 233 of file json.h.

  void JSvalue::clear () [inline]

Definition at line 115 of file json.h.

  vector<JSvalue>::iterator JSvalue::end () [inline]

Definition at line 182 of file json.h.

  vector<JSvalue>::iterator JSvalue::erase (long j) [inline]

Definition at line 183 of file json.h.

  vector<JSvalue>::iterator JSvalue::erase (vector< JSvalue >::iterator first, vector< JSvalue >::iterator last) [inline]

Definition at line 187 of file json.h.

  long JSvalue::erase (string tag) [inline]

Definition at line 220 of file json.h.

  map<string, JSvalue>::iterator JSvalue::erase (map< string, JSvalue >::iterator first, map< string, JSvalue >::iterator last) [inline]

Definition at line 226 of file json.h.

  bool JSvalue::exists (string tag) [inline]

Definition at line 215 of file json.h.

  JSvalue& JSvalue::front () [inline]

Definition at line 173 of file json.h.

  long& JSvalue::integer () [inline]

Definition at line 136 of file json.h.

  long& JSvalue::integer (string & tag) [inline]

Definition at line 236 of file json.h.

  map<string, JSvalue>::iterator JSvalue::lower_bound (string & s) [inline]

Definition at line 230 of file json.h.

  long JSvalue::memory () [inline]

Definition at line 120 of file json.h.

  map<string, JSvalue>& JSvalue::object () [inline]

Definition at line 196 of file json.h.

  JSvalue& JSvalue::object (string tag) [inline]

Definition at line 205 of file json.h.

  map<string, JSvalue>::iterator JSvalue::object_begin () [inline]

Definition at line 224 of file json.h.

  map<string, JSvalue>::iterator JSvalue::object_end () [inline]

Definition at line 225 of file json.h.

  void JSvalue::operator *= (double d) [inline]

Definition at line 253 of file json.h.

  bool JSvalue::operator!= (string val) [inline]

Definition at line 249 of file json.h.

  vector<JSvalue*> JSvalue::operator() (string & jsonpath) [inline]

Definition at line 260 of file json.h.

  bool JSvalue::operator== (string val) [inline]

Definition at line 246 of file json.h.

  JSvalue& JSvalue::operator[] (long j) [inline]

Definition at line 155 of file json.h.

  JSvalue& JSvalue::operator[] (string tag) [inline]

Definition at line 200 of file json.h.

  void JSvalue::push_back (const JSvalue & val) [inline]

Definition at line 191 of file json.h.

  void JSvalue::qbrackets (string & jsonpath, vector< JSvalue * > & qarr) [inline]

Definition at line 312 of file json.h.

  void JSvalue::qdots (string & jsonpath, vector< JSvalue * > & qarr) [inline]

Definition at line 268 of file json.h.

  double& JSvalue::real () [inline]

Definition at line 143 of file json.h.

  double& JSvalue::real (string & tag) [inline]

Definition at line 239 of file json.h.

  size_t JSvalue::size () [inline]

Definition at line 108 of file json.h.

  const JStype& JSvalue::type () const [inline]

Definition at line 106 of file json.h.

  map<string, JSvalue>::iterator JSvalue::upper_bound (string & s) [inline]

Definition at line 231 of file json.h.

  string& JSvalue::value () [inline]

Definition at line 128 of file json.h.

  void JSvalue::write (string & filename) [inline]

Definition at line 345 of file json.h.

Author

Generated automatically by Doxygen for Bsoft from the source code.