Guitarix
|
#include <gx_json.h>
Public Member Functions | |
JsonStringParser () | |
void | put (char c) |
std::ostream & | get_ostream () |
void | start_parser () |
std::string | get_string () |
void | reset () |
char | peek_first_char () |
![]() | |
JsonParser (istream *i=0) | |
virtual | ~JsonParser () |
virtual void | close () |
void | reset () |
bool | is_closed () |
void | set_stream (istream *i) |
istream * | get_stream () |
const char * | get_token_name (token tok) |
bool | good () |
token | next (token expect=no_token) |
token | peek () |
streampos | get_streampos () |
void | set_streampos (streampos pos) |
void | check_expect (token expect) |
string | current_value () const |
int | current_value_int () |
unsigned int | current_value_uint () |
float | current_value_float () |
double | current_value_double () |
bool | read_kv (const char *key, float &v) |
bool | read_kv (const char *key, double &v) |
bool | read_kv (const char *key, int &i) |
bool | read_kv (const char *key, unsigned int &i) |
bool | read_kv (const char *key, std::string &s) |
bool | read_kv (const char *key, Glib::ustring &s) |
template<class T > | |
bool | read_kv (const char *key, T &v) |
void | copy_object (JsonWriter &jw) |
void | skip_object () |
void | throw_unexpected (token expect) |
Additional Inherited Members | |
![]() | |
enum | token { no_token = 0x0000, end_token = 0x0001, begin_object = 0x002, end_object = 0x0004, begin_array = 0x0008, end_array = 0x0010, value_string = 0x0020, value_number = 0x0040, value_key = 0x0080, value_null = 0x0100, value_false = 0x0200, value_true = 0x0400, value_bool = 0x0600 } |
|
inline |
Definition at line 208 of file gx_json.h.
Referenced by gx_preset::UnitsCollector::get_list().
|
inline |
Definition at line 210 of file gx_json.h.
Referenced by gx_engine::debug_trace_param(), and CmdConnection::send().
|
inline |
Definition at line 212 of file gx_json.h.
Referenced by CmdConnection::send().
|
inline |
Definition at line 207 of file gx_json.h.
Referenced by gx_preset::UnitsCollector::get_list(), and CmdConnection::on_data_in().
|
inline |
Definition at line 211 of file gx_json.h.
Referenced by CmdConnection::on_data_in().
|
inline |
Definition at line 209 of file gx_json.h.
Referenced by CmdConnection::CmdConnection(), and gx_preset::UnitsCollector::get_list().