Guitarix
|
#include <gx_json.h>
Public Member Functions | |
void | close () |
void | close_nocheck () |
void | abort () |
PresetTransformer (string filename, istream *is) | |
~PresetTransformer () | |
![]() | |
JsonWriter (ostream *o=0, bool enable_newlines=true) | |
virtual | ~JsonWriter () |
void | reset () |
void | set_stream (ostream *o) |
bool | good () |
void | flush () |
bool | is_closed () |
void | write (float v, bool nl=false) |
void | write (double v, bool nl=false) |
void | write (int i, bool nl=false) |
void | write (unsigned int i, bool nl=false) |
void | write (const char *p, bool nl=false) |
void | write (const string &s, bool nl=false) |
void | write_kv (const char *key, float v) |
void | write_kv (const char *key, double v) |
void | write_kv (const char *key, int i) |
void | write_kv (const char *key, unsigned int i) |
void | write_kv (const char *key, const char *p) |
void | write_kv (const char *key, const std::string &s) |
void | write_lit (const string &s, bool nl=false) |
void | begin_object (bool nl=false) |
void | end_object (bool nl=false) |
void | begin_array (bool nl=false) |
void | end_array (bool nl=false) |
void | write_key (const char *p, bool nl=false) |
void | write_key (const string &p, bool nl=false) |
void | write_null (bool nl=false) |
void | newline () |
Public Attributes | |
JsonParser | jp |
SettingsFileHeader | header |
Protected Attributes | |
istream * | is |
gx_system::PresetTransformer::PresetTransformer | ( | string | filename, |
istream * | is | ||
) |
Definition at line 1156 of file gx_json.cpp.
gx_system::PresetTransformer::~PresetTransformer | ( | ) |
Definition at line 1174 of file gx_json.cpp.
void gx_system::PresetTransformer::abort | ( | ) |
Definition at line 1179 of file gx_json.cpp.
Referenced by gx_system::GxSettingsBase::reorder_preset().
|
virtual |
Reimplemented from gx_system::JsonWriter.
Reimplemented in gx_system::ModifyPreset.
Definition at line 1209 of file gx_json.cpp.
Referenced by gx_system::ModifyPreset::close(), and ~PresetTransformer().
void gx_system::PresetTransformer::close_nocheck | ( | ) |
Definition at line 1190 of file gx_json.cpp.
Referenced by close(), and gx_system::GxSettingsBase::reorder_preset().
SettingsFileHeader gx_system::PresetTransformer::header |
Definition at line 283 of file gx_json.h.
Referenced by gx_system::GxSettingsBase::convert_preset(), and PresetTransformer().
|
protected |
Definition at line 280 of file gx_json.h.
Referenced by abort(), close(), gx_system::ModifyPreset::close(), close_nocheck(), gx_system::ModifyPreset::ModifyPreset(), and PresetTransformer().
JsonParser gx_system::PresetTransformer::jp |
Definition at line 282 of file gx_json.h.
Referenced by close(), gx_system::ModifyPreset::close(), gx_system::GxSettingsBase::convert_preset(), gx_system::ModifyPreset::copy_object(), gx_system::PresetFile::create_writer(), gx_system::PresetFile::erase(), gx_system::ModifyPreset::ModifyPreset(), PresetTransformer(), and gx_system::PresetFile::rename().