Public Member Functions | |
BaseJOTappConfig (Cstr_ptr &j) | |
virtual | ~BaseJOTappConfig () |
DEFINE_RTTI_METHODS_BASE ("BaseJOTappConfig", CDATA_ITEM *) | |
virtual DATA_ITEM * | dup () const |
virtual CTAGlist & | tags () const |
virtual void | add_tags () const |
virtual STDdstream & | format (STDdstream &d) const |
virtual STDdstream & | decode (STDdstream &d) |
virtual void | recompute () |
virtual STAT_STR_RET | class_name () const =0 |
virtual int | is_of_type (Cstr_ptr &t) const |
Static Public Member Functions | |
static STAT_STR_RET | static_name () |
static int | add_decoder (Cstr_ptr &d, DATA_ITEM *di, int copy=-1) |
static void | set_default_decoder (DATA_ITEM *(*d)(STDdstream &, Cstr_ptr &, DATA_ITEM *)) |
static DATA_ITEM * | Decode (STDdstream &d, int DelayDecoding=0) |
static DATA_ITEM * | lookup (Cstr_ptr &d) |
static HASH * | di_hash () |
static bool | get_var_bool (Cstr_ptr &var, bool def=false, bool store=false) |
static int | get_var_int (Cstr_ptr &var, int def=0, bool store=false) |
static str_ptr | get_var_str (Cstr_ptr &var, Cstr_ptr &def=NULL_STR, bool store=false) |
static double | get_var_dbl (Cstr_ptr &var, double def=0.0, bool store=false) |
static void | set_var_bool (Cstr_ptr &var, bool val) |
static void | set_var_int (Cstr_ptr &var, int val) |
static void | set_var_str (Cstr_ptr &var, Cstr_ptr &val) |
static void | set_var_dbl (Cstr_ptr &var, double val) |
static bool | save_config (Cstr_ptr &f) |
static bool | load_config (Cstr_ptr &f, bool rep=true) |
static Cstr_ptr & | JOT_ROOT () |
static void | no_warn (Cstr_ptr &s) |
Protected Member Functions | |
virtual bool | save (Cstr_ptr &) |
virtual bool | load (Cstr_ptr &) |
virtual void | get_string_var (TAGformat &d) |
virtual void | put_string_var (TAGformat &d) const |
virtual void | get_integer_var (TAGformat &d) |
virtual void | put_integer_var (TAGformat &d) const |
virtual void | get_double_var (TAGformat &d) |
virtual void | put_double_var (TAGformat &d) const |
virtual void | get_bool_var (TAGformat &d) |
virtual void | put_bool_var (TAGformat &d) const |
virtual void | get_old_var (TAGformat &d) |
virtual void | put_old_var (TAGformat &d) const |
Static Protected Member Functions | |
static bool | get_var_is_set (Cstr_ptr &var) |
Protected Attributes | |
int | _copy |
TAGlist | _DEFINERtags |
str_ptr | _jot_root |
Static Protected Attributes | |
static Config * | _instance = NULL |
static bool | _replace = true |
static bool | _loaded = false |
static str_list * | _no_warn = NULL |
Static Private Attributes | |
static TAGlist * | _bja_tags = NULL |
Definition at line 22 of file jotappconfig.C.
|
Definition at line 37 of file jotappconfig.C. References Config::_instance. Referenced by dup(). |
|
Definition at line 39 of file jotappconfig.C. |
|
Definition at line 41 of file data_item.C. References DATA_ITEM::_hash, and HASH::add(). Referenced by JOTvar< OBJ, TYPE >::check_inst_name(), FUNC_ITEM::FUNC_ITEM(), hashdist::hashdist(), JOTvar< OBJ, TYPE >::JOTvar(), and DISTRIB::notify_exist(). |
|
Definition at line 205 of file data_item.H. |
|
|
Definition at line 57 of file data_item.C. References DATA_ITEM::_copy, DATA_ITEM::_decode_unknown, DATA_ITEM::class_name(), DATA_ITEM::decode(), DATA_ITEM::dup(), Config::get_var_bool(), and DATA_ITEM::lookup(). Referenced by JOThash::get(), DISTRIB::interpret(), and operator>>(). |
|
Reimplemented in JOTsend_geom, and BMESH. Definition at line 145 of file data_item.C. References DATA_ITEM::class_name(), COMMENT::decode(), j, COMMENT::name(), TAGformat::read_end_id(), TAGformat::read_id(), DATA_ITEM::recompute(), and DATA_ITEM::tags(). Referenced by DATA_ITEM::Decode(), BMESH::decode(), JOTio::get(), BMESH::get_patches(), Patch::get_texture(), VIEW::get_view_animator(), and VIEW::get_view_data_file(). |
|
|
|
Definition at line 225 of file data_item.H. References DATA_ITEM::_hash. |
|
Implements DATA_ITEM. Reimplemented in JOTappConfig. Definition at line 52 of file jotappconfig.C. References BaseJOTappConfig(), and NULL_STR. |
|
Reimplemented in Animator, JOTdone, JOTsend_geom, and BMESH. Definition at line 194 of file data_item.C. References DATA_ITEM::class_name(), TAGformat::end_id(), Config::get_var_bool(), TAGformat::id(), DATA_ITEM::tags(), and STDdstream::write_newline(). Referenced by JOTdone::format(), BMESH::format(), Animator::format(), JOTio::put(), and VIEW::put_view_data_file(). |
|
Definition at line 333 of file jotappconfig.C. References TAGformat::name(), and Config::set_var_bool(). |
|
Definition at line 291 of file jotappconfig.C. References TAGformat::name(), and Config::set_var_dbl(). |
|
Definition at line 249 of file jotappconfig.C. References TAGformat::name(), and Config::set_var_int(). |
|
Definition at line 224 of file jotappconfig.C. References TAGformat::name(). |
|
Definition at line 178 of file jotappconfig.C. References TAGformat::name(), NULL_STR, and Config::set_var_str(). |
|
|
|
Definition at line 133 of file config.C. References Config::_instance, Config::_loaded, Config::_no_warn, ARRAY< T >::contains(), ERR_LEV_WARN, err_mesg_cond(), Config::get_var_is_set(), and Config::set_var_int(). Referenced by GESTURE::complete(), distrib_client(), GLUT_MANAGER::do_idle(), err_(), BMESH::get_sil_strips(), BMESH::get_zcross_strips(), BaseJOTapp::init_top(), GESTURE::is_corner(), GL_VIEW::paint(), put_integer_var(), and TTYfd::TTYfd(). |
|
Definition at line 59 of file config.C. Referenced by Config::get_var_bool(), Config::get_var_dbl(), Config::get_var_int(), Config::get_var_str(), put_bool_var(), put_double_var(), put_integer_var(), put_string_var(), Config::set_var_bool(), Config::set_var_dbl(), Config::set_var_int(), and Config::set_var_str(). |
|
|
Definition at line 214 of file data_item.H. References IS. Referenced by BMESH::operator=(). |
|
|
Reimplemented from Config. Definition at line 134 of file jotappconfig.C. References Config::_instance, and DATA_ITEM::class_name(). |
|
Definition at line 44 of file config.C. References Config::_instance, Config::_loaded, Config::_replace, and Config::load(). Referenced by main_config(). |
|
Definition at line 222 of file data_item.H. References DATA_ITEM::_hash, and HASH::find(). Referenced by DATA_ITEM::Decode(), FUNC_ITEM::FUNC_ITEM(), Patch::get_tex(), and BMESH::read_jot_stream(). |
|
Definition at line 53 of file config.H. References Config::_no_warn. Referenced by main_config(). |
|
Definition at line 360 of file jotappconfig.C. References TAGformat::end_id(), Config::get_var_bool(), Config::get_var_is_set(), TAGformat::id(), and TAGformat::name(). |
|
Definition at line 308 of file jotappconfig.C. References TAGformat::end_id(), Config::get_var_dbl(), Config::get_var_is_set(), TAGformat::id(), and TAGformat::name(). |
|
Definition at line 266 of file jotappconfig.C. References TAGformat::end_id(), Config::get_var_int(), Config::get_var_is_set(), TAGformat::id(), and TAGformat::name(). |
|
Definition at line 240 of file jotappconfig.C. |
|
Definition at line 197 of file jotappconfig.C. References TAGformat::end_id(), Config::get_var_is_set(), Config::get_var_str(), TAGformat::id(), TAGformat::name(), and NULL_STR. |
|
Reimplemented in Patch. Definition at line 208 of file data_item.H. Referenced by DATA_ITEM::decode(). |
|
Reimplemented from Config. Definition at line 109 of file jotappconfig.C. References Config::_instance. |
|
Definition at line 45 of file config.H. References Config::_instance, and Config::save(). Referenced by save_config(). |
|
Definition at line 218 of file data_item.H. References DATA_ITEM::_decode_unknown. |
|
Definition at line 116 of file config.C. References Config::_replace, ERR_LEV_WARN, err_mesg(), and Config::get_var_is_set(). Referenced by get_bool_var(), and Config::get_var_bool(). |
|
Definition at line 84 of file config.C. References Config::_replace, ERR_LEV_WARN, err_mesg(), and Config::get_var_is_set(). Referenced by get_double_var(), and Config::get_var_dbl(). |
|
Definition at line 68 of file config.C. References Config::_replace, ERR_LEV_WARN, err_mesg(), and Config::get_var_is_set(). Referenced by get_integer_var(), and Config::get_var_int(). |
|
Definition at line 100 of file config.C. References Config::_replace, ERR_LEV_WARN, err_mesg(), and Config::get_var_is_set(). Referenced by get_string_var(), Config::get_var_str(), and main(). |
|
Definition at line 31 of file data_item.C. References RET_STAT_STR. Referenced by BALLwidget_anchor::BALLwidget_anchor(), CAMwidget_anchor::CAMwidget_anchor(), Patch::cur_tex(), OGLTexture::draw_id_ref(), OGLTexture::draw_id_triangles(), OGLTexture::draw_vis_ref(), VIEW::get_view_animator(), GRIDwidget_anchor::GRIDwidget_anchor(), and toggle_sil_frame(). |
|
Reimplemented from DATA_ITEM. Reimplemented in JOTappConfig. Definition at line 91 of file jotappconfig.C. References _bja_tags. Referenced by JOTappConfig::tags(). |
|
Definition at line 27 of file jotappconfig.C. Referenced by tags(). |
|
Definition at line 197 of file data_item.H. Referenced by DATA_ITEM::Decode(). |
|
Definition at line 198 of file data_item.H. Referenced by DATA_ITEM::tags(). |
|
Definition at line 25 of file config.H. Referenced by BaseJOTappConfig(), Config::Config(), Config::get_var_bool(), Config::get_var_dbl(), Config::get_var_int(), Config::get_var_str(), Config::JOT_ROOT(), JOTappConfig::JOTappConfig(), load(), Config::load_config(), save(), Config::save_config(), and Config::~Config(). |
|
Definition at line 60 of file config.H. Referenced by Config::JOT_ROOT(). |
|
Definition at line 28 of file config.H. Referenced by Config::get_var_bool(), Config::get_var_dbl(), Config::get_var_int(), Config::get_var_str(), and Config::load_config(). |
|
Definition at line 30 of file config.H. Referenced by Config::get_var_bool(), Config::get_var_dbl(), Config::get_var_int(), Config::get_var_str(), and Config::no_warn(). |
|
Definition at line 27 of file config.H. Referenced by Config::load_config(), Config::set_var_bool(), Config::set_var_dbl(), Config::set_var_int(), and Config::set_var_str(). |