Guitarix
gx_system::ModifyPreset Class Reference
Inheritance diagram for gx_system::ModifyPreset:
Collaboration diagram for gx_system::ModifyPreset:

Public Member Functions

 ModifyPreset (string filename, istream *is, const Glib::ustring &presname)
 
 ~ModifyPreset ()
 
void close ()
 
void copy_object ()
 
- Public Member Functions inherited from gx_system::PresetTransformer
void close_nocheck ()
 
void abort ()
 
 PresetTransformer (string filename, istream *is)
 
 ~PresetTransformer ()
 
- Public Member Functions inherited from gx_system::JsonWriter
 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 ()
 

Additional Inherited Members

- Public Attributes inherited from gx_system::PresetTransformer
JsonParser jp
 
SettingsFileHeader header
 
- Protected Attributes inherited from gx_system::PresetTransformer
istream * is
 

Detailed Description

Definition at line 1220 of file gx_json.cpp.

Constructor & Destructor Documentation

◆ ModifyPreset()

gx_system::ModifyPreset::ModifyPreset ( string  filename,
istream *  is,
const Glib::ustring &  presname 
)

Definition at line 1232 of file gx_json.cpp.

◆ ~ModifyPreset()

gx_system::ModifyPreset::~ModifyPreset ( )

Definition at line 1228 of file gx_json.cpp.

Member Function Documentation

◆ close()

void gx_system::ModifyPreset::close ( )
virtual

Reimplemented from gx_system::PresetTransformer.

Definition at line 1247 of file gx_json.cpp.

Referenced by ~ModifyPreset().

◆ copy_object()

void gx_system::ModifyPreset::copy_object ( )

Definition at line 1261 of file gx_json.cpp.


The documentation for this class was generated from the following file: