#include <gx_json.h>
|
| PresetFile () |
|
| ~PresetFile () |
|
void | readJSON_remote (JsonParser &jp) |
|
void | writeJSON_remote (JsonWriter &jw) |
|
bool | open_file (const Glib::ustring &name, const std::string &path, int tp, int flags) |
|
bool | create_file (const Glib::ustring &name, const std::string &path, int tp, int flags) |
|
bool | set_factory (const Glib::ustring &name_, const std::string &path) |
|
bool | readJSON (const std::string &dirpath, JsonParser &jp, bool *mtime_diff) |
|
void | writeJSON (JsonWriter &jw) |
|
void | reopen () |
|
void | open (const std::string &fname) |
|
void | close () |
|
bool | fail () |
|
bool | ensure_is_current () |
|
void | check_flags () |
|
const std::string & | get_filename () const |
|
const SettingsFileHeader & | get_header () |
|
int | size () |
|
void | fill_names (vector< Glib::ustring > &) |
|
const Glib::ustring & | get_name (int n) |
|
int | get_index (const Glib::ustring &name) |
|
JsonParser * | create_reader (int n) |
|
JsonParser * | create_reader (const Glib::ustring &name) |
|
JsonWriter * | create_writer (int n) |
|
JsonWriter * | create_writer (const Glib::ustring &name) |
|
JsonWriter * | create_writer_at (const Glib::ustring &pos, const Glib::ustring &name) |
|
PresetTransformer * | create_transformer () |
|
bool | clear () |
|
bool | erase (const Glib::ustring &name) |
|
bool | rename (const Glib::ustring &name, Glib::ustring newname) |
|
bool | has_entry (const Glib::ustring &name) |
|
void | append (const Glib::ustring &name) |
|
void | insert_before (const Glib::ustring &nm, const Glib::ustring &newentry) |
|
void | insert_after (const Glib::ustring &nm, const Glib::ustring &newentry) |
|
int | get_flags () const |
|
void | set_flags (int f) |
|
void | set_flag (int flag, bool v) |
|
int | get_type () const |
|
const Glib::ustring & | get_name () const |
|
bool | set_name (const Glib::ustring &n, const std::string &newfile) |
|
bool | remove_file () |
|
iterator | begin () |
|
iterator | end () |
|
bool | is_moveable () const |
|
bool | is_mutable () const |
|
PresetFileGui * | get_guiwrapper () |
|
bool | is_newer (time_t m) |
|
Definition at line 299 of file gx_json.h.
◆ iterator
◆ anonymous enum
Enumerator |
---|
PRESET_SEP | |
PRESET_SCRATCH | |
PRESET_FILE | |
PRESET_FACTORY | |
Definition at line 301 of file gx_json.h.
◆ PresetFile()
gx_system::PresetFile::PresetFile |
( |
| ) |
|
◆ ~PresetFile()
gx_system::PresetFile::~PresetFile |
( |
| ) |
|
|
inline |
◆ append()
void gx_system::PresetFile::append |
( |
const Glib::ustring & |
name | ) |
|
◆ begin()
iterator gx_system::PresetFile::begin |
( |
| ) |
|
◆ check_flags()
void gx_system::PresetFile::check_flags |
( |
| ) |
|
◆ clear()
bool gx_system::PresetFile::clear |
( |
| ) |
|
◆ close()
void gx_system::PresetFile::close |
( |
void |
| ) |
|
|
inline |
◆ create_file()
bool gx_system::PresetFile::create_file |
( |
const Glib::ustring & |
name, |
|
|
const std::string & |
path, |
|
|
int |
tp, |
|
|
int |
flags |
|
) |
| |
◆ create_reader() [1/2]
JsonParser * gx_system::PresetFile::create_reader |
( |
const Glib::ustring & |
name | ) |
|
|
inline |
◆ create_reader() [2/2]
JsonParser * gx_system::PresetFile::create_reader |
( |
int |
n | ) |
|
◆ create_transformer()
◆ create_writer() [1/2]
JsonWriter * gx_system::PresetFile::create_writer |
( |
const Glib::ustring & |
name | ) |
|
◆ create_writer() [2/2]
JsonWriter * gx_system::PresetFile::create_writer |
( |
int |
n | ) |
|
|
inline |
◆ create_writer_at()
JsonWriter * gx_system::PresetFile::create_writer_at |
( |
const Glib::ustring & |
pos, |
|
|
const Glib::ustring & |
name |
|
) |
| |
◆ end()
◆ ensure_is_current()
bool gx_system::PresetFile::ensure_is_current |
( |
| ) |
|
◆ erase()
bool gx_system::PresetFile::erase |
( |
const Glib::ustring & |
name | ) |
|
◆ fail()
bool gx_system::PresetFile::fail |
( |
| ) |
|
◆ fill_names()
void gx_system::PresetFile::fill_names |
( |
vector< Glib::ustring > & |
| ) |
|
◆ get_filename()
const std::string & gx_system::PresetFile::get_filename |
( |
| ) |
const |
|
inline |
◆ get_flags()
int gx_system::PresetFile::get_flags |
( |
| ) |
const |
|
inline |
◆ get_guiwrapper()
◆ get_header()
◆ get_index()
int gx_system::PresetFile::get_index |
( |
const Glib::ustring & |
name | ) |
|
◆ get_name() [1/2]
const Glib::ustring & gx_system::PresetFile::get_name |
( |
| ) |
const |
|
inline |
◆ get_name() [2/2]
const Glib::ustring & gx_system::PresetFile::get_name |
( |
int |
n | ) |
|
◆ get_type()
int gx_system::PresetFile::get_type |
( |
| ) |
const |
|
inline |
◆ has_entry()
bool gx_system::PresetFile::has_entry |
( |
const Glib::ustring & |
name | ) |
|
|
inline |
◆ insert_after()
void gx_system::PresetFile::insert_after |
( |
const Glib::ustring & |
nm, |
|
|
const Glib::ustring & |
newentry |
|
) |
| |
◆ insert_before()
void gx_system::PresetFile::insert_before |
( |
const Glib::ustring & |
nm, |
|
|
const Glib::ustring & |
newentry |
|
) |
| |
◆ is_moveable()
bool gx_system::PresetFile::is_moveable |
( |
| ) |
const |
|
inline |
◆ is_mutable()
bool gx_system::PresetFile::is_mutable |
( |
| ) |
const |
|
inline |
◆ is_newer()
bool gx_system::PresetFile::is_newer |
( |
time_t |
m | ) |
|
◆ open() [1/2]
void gx_system::PresetFile::open |
( |
| ) |
|
|
protected |
◆ open() [2/2]
void gx_system::PresetFile::open |
( |
const std::string & |
fname | ) |
|
◆ open_file()
bool gx_system::PresetFile::open_file |
( |
const Glib::ustring & |
name, |
|
|
const std::string & |
path, |
|
|
int |
tp, |
|
|
int |
flags |
|
) |
| |
◆ readJSON()
bool gx_system::PresetFile::readJSON |
( |
const std::string & |
dirpath, |
|
|
JsonParser & |
jp, |
|
|
bool * |
mtime_diff |
|
) |
| |
◆ readJSON_remote()
void gx_system::PresetFile::readJSON_remote |
( |
JsonParser & |
jp | ) |
|
◆ remove_file()
bool gx_system::PresetFile::remove_file |
( |
| ) |
|
◆ rename()
bool gx_system::PresetFile::rename |
( |
const Glib::ustring & |
name, |
|
|
Glib::ustring |
newname |
|
) |
| |
◆ reopen()
void gx_system::PresetFile::reopen |
( |
| ) |
|
|
inline |
◆ set_factory()
bool gx_system::PresetFile::set_factory |
( |
const Glib::ustring & |
name_, |
|
|
const std::string & |
path |
|
) |
| |
◆ set_flag()
void gx_system::PresetFile::set_flag |
( |
int |
flag, |
|
|
bool |
v |
|
) |
| |
|
inline |
◆ set_flags()
void gx_system::PresetFile::set_flags |
( |
int |
f | ) |
|
|
inline |
◆ set_name()
bool gx_system::PresetFile::set_name |
( |
const Glib::ustring & |
n, |
|
|
const std::string & |
newfile |
|
) |
| |
◆ size()
int gx_system::PresetFile::size |
( |
| ) |
|
◆ writeJSON()
void gx_system::PresetFile::writeJSON |
( |
JsonWriter & |
jw | ) |
|
◆ writeJSON_remote()
void gx_system::PresetFile::writeJSON_remote |
( |
JsonWriter & |
jw | ) |
|
◆ gx_engine::GxMachineRemote
◆ entries
std::vector<Position> gx_system::PresetFile::entries |
|
protected |
◆ filename
std::string gx_system::PresetFile::filename |
|
protected |
◆ flags
int gx_system::PresetFile::flags |
|
protected |
◆ header
◆ is
ifstream* gx_system::PresetFile::is |
|
protected |
◆ mtime
time_t gx_system::PresetFile::mtime |
|
protected |
◆ name
Glib::ustring gx_system::PresetFile::name |
|
protected |
◆ tp
int gx_system::PresetFile::tp |
|
protected |
The documentation for this class was generated from the following file: