#include <hash_types.H>
Inheritance diagram for hashenum< T >:
Public Member Functions | |
hashenum (Cstr_ptr &var, T val, int dist=0, int dup=0) | |
~hashenum () | |
T | get (CGELptr &g) const |
void | set (GELptr g, T v) |
virtual T | str_to_enum (Cstr_ptr &s) const |
virtual void | put_var (TAGformat &d, CGELptr &gel) const |
virtual void | get_var (TAGformat &d) |
virtual void | notify_dup (CGELptr &old, CGELptr &newg) |
void | del (CGELptr &g) |
int | is_default (CGELptr &g) const |
CHASH & | hash () const |
virtual CTAGlist & | tags () const |
virtual DATA_ITEM * | dup () const |
virtual STAT_STR_RET | class_name () const |
virtual void | put_dummy (TAGformat &) const |
virtual void | notify_exist (CGELptr &g, int f) |
virtual void | notify_distrib (STDdstream &ds, CGELptr &g) |
virtual void | add_tags () const |
virtual STDdstream & | format (STDdstream &d) const |
virtual STDdstream & | decode (STDdstream &d) |
virtual void | recompute () |
virtual int | is_of_type (Cstr_ptr &t) const |
void | distrib_obs () |
void | unobs_distrib () |
void | exist_obs () |
void | unobs_exist () |
void | dup_obs () |
void | unobs_dup () |
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 void | notify_distrib_obs (STDdstream &d, CGELptr &gel) |
static void | notify_exist_obs (CGELptr &o, int f) |
static void | notify_dup_obs (CGELptr &o, CGELptr &newg) |
Protected Member Functions | |
void * | find (CGELptr &g) const |
void | add (CGELptr &g, void *v) |
void | del_hash_items () |
DUPobs_list * | dupobs_list () |
Static Protected Member Functions | |
static GELdistobs_list * | distobs_list () |
static EXISTobs_list * | existobs_list () |
Protected Attributes | |
str_ptr | _str |
const int | _dist |
HASH | _dhash |
const int | _dup |
TAGlist | _tags |
int | _copy |
TAGlist | _DEFINERtags |
Static Protected Attributes | |
static GELdistobs_list * | _dist_obs = 0 |
static GELlist | _created |
static EXISTobs_list * | _exist_obs = 0 |
static DUPobs_list * | _dup_obs = 0 |
Private Member Functions | |
virtual void | del_item (void *item) |
Private Attributes | |
T | _val |
Definition at line 132 of file hash_types.H.
|
Definition at line 136 of file hash_types.H. |
|
Definition at line 138 of file hash_types.H. |
|
Definition at line 36 of file hash_types.H. References hashdist::_dhash, and HASH::add(). Referenced by hashenum< GEOM::cons >::set(), hashptr< T >::set(), and hashvar< int >::set(). |
|
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. |
|
Implements DATA_ITEM. Definition at line 68 of file hash_types.H. References hashdist::_str. Referenced by hashdist::notify_distrib(), and hashenum< GEOM::cons >::put_var(). |
|
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 59 of file hash_types.H. References hashdist::_dhash, HASH::del(), hashdist::del_item(), and hashdist::find(). Referenced by JOTcreate::get(), hashptr< T >::notify_exist(), hashdist::notify_exist(), hashenum< GEOM::cons >::set(), hashptr< T >::set(), and hashvar< int >::set(). |
|
Definition at line 38 of file hash_types.H. References hashdist::_dhash, HASH::del(), hashdist::del_item(), HASH::get_items(), and ARRAY< T >::num(). Referenced by hashenum< GEOM::cons >::~hashenum(), hashptr< T >::~hashptr(), and hashvar< int >::~hashvar(). |
|
Implements hashdist. Definition at line 134 of file hash_types.H. |
|
Definition at line 225 of file data_item.H. References DATA_ITEM::_hash. |
|
Definition at line 19 of file gel_obs.H. References GELdistobs::_dist_obs. Referenced by GELdistobs::distrib_obs(), GELdistobs::notify_distrib_obs(), and GELdistobs::unobs_distrib(). |
|
Definition at line 28 of file gel_obs.H. References ARRAY< T >::add_uniquely(), and GELdistobs::distobs_list(). Referenced by hashdist::hashdist(). |
|
Implements DATA_ITEM. Definition at line 67 of file hash_types.H. |
|
Definition at line 119 of file gel_obs.H. References DUPobs::dupobs_list(). Referenced by hashdist::hashdist(). |
|
Definition at line 110 of file gel_obs.H. References DUPobs::_dup_obs. Referenced by DUPobs::dup_obs(), and DUPobs::unobs_dup(). |
|
Definition at line 58 of file gel_obs.H. References EXISTobs::existobs_list(). Referenced by DISTRIB::DISTRIB(), hashdist::hashdist(), and VisRefImage::observe(). |
|
Definition at line 47 of file gel_obs.H. References EXISTobs::_exist_obs. Referenced by EXISTobs::exist_obs(), EXISTobs::notify_exist_obs(), and EXISTobs::unobs_exist(). |
|
Definition at line 35 of file hash_types.H. References hashdist::_dhash, and HASH::find(). Referenced by hashdist::del(), hashenum< GEOM::cons >::get(), hashptr< T >::get(), hashvar< int >::get(), hashdist::is_default(), hashenum< GEOM::cons >::notify_dup(), hashptr< T >::notify_dup(), hashvar< int >::notify_dup(), hashenum< GEOM::cons >::put_var(), and hashvar< int >::put_var(). |
|
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 139 of file hash_types.H. Referenced by FilmTrans::down(), hashenum< GEOM::cons >::notify_dup(), and hashenum< GEOM::cons >::put_var(). |
|
Implements hashdist. Definition at line 155 of file hash_types.H. |
|
Definition at line 65 of file hash_types.H. References hashdist::_dhash. |
|
Definition at line 64 of file hash_types.H. References hashdist::find(). |
|
Definition at line 214 of file data_item.H. References IS. Referenced by BMESH::operator=(). |
|
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(). |
|
Implements GELdistobs. Definition at line 74 of file hash_types.H. References hashdist::class_name(), and hashdist::put_var(). Referenced by JOThash::put(). |
|
Definition at line 23 of file gel_obs.H. References GELdistobs::distobs_list(). Referenced by JOTsend_geom::format(). |
|
Implements hashdist. Definition at line 159 of file hash_types.H. |
|
Definition at line 114 of file gel_obs.H. References DUPobs::_dup_obs. Referenced by GEL::GEL(). |
|
Implements EXISTobs. Reimplemented in hashptr< T >. Definition at line 71 of file hash_types.H. References hashdist::del(). |
|
Definition at line 52 of file gel_obs.H. References EXISTobs::_exist_obs, and EXISTobs::existobs_list(). |
|
Definition at line 69 of file hash_types.H. Referenced by hashdist::hashdist(). |
|
Implements hashdist. Definition at line 150 of file hash_types.H. |
|
Reimplemented in Patch. Definition at line 208 of file data_item.H. Referenced by DATA_ITEM::decode(). |
|
Definition at line 141 of file hash_types.H. Referenced by TestSPSapp::create_grid(), hashenum< GEOM::cons >::get_var(), TestSPSapp::load_scene(), and hashenum< GEOM::cons >::notify_dup(). |
|
Definition at line 218 of file data_item.H. References DATA_ITEM::_decode_unknown. |
|
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 in XformConstraint. Definition at line 149 of file hash_types.H. Referenced by hashenum< GEOM::cons >::get_var(). |
|
Reimplemented from DATA_ITEM. Definition at line 66 of file hash_types.H. References hashdist::_tags. |
|
Definition at line 29 of file gel_obs.H. References GELdistobs::distobs_list(), and ARRAY< T >::rem(). |
|
Definition at line 120 of file gel_obs.H. References DUPobs::dupobs_list(). |
|
Definition at line 59 of file gel_obs.H. References EXISTobs::existobs_list(). Referenced by VisRefImage::unobserve(). |
|
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 32 of file hash_types.H. Referenced by hashdist::add(), hashdist::del(), hashdist::del_hash_items(), hashdist::find(), and hashdist::hash(). |
|
Definition at line 31 of file hash_types.H. Referenced by hashdist::hashdist(), hashvar< int >::put_var(), hashenum< GEOM::cons >::set(), hashptr< T >::set(), and hashvar< int >::set(). |
|
Definition at line 18 of file gel_obs.H. Referenced by GELdistobs::distobs_list(). |
|
Definition at line 33 of file hash_types.H. Referenced by hashdist::hashdist(). |
|
Definition at line 109 of file gel_obs.H. Referenced by DUPobs::dupobs_list(), and DUPobs::notify_dup_obs(). |
|
Definition at line 46 of file gel_obs.H. Referenced by EXISTobs::existobs_list(), and EXISTobs::notify_exist_obs(). |
|
Definition at line 30 of file hash_types.H. Referenced by hashdist::class_name(), and hashdist::hashdist(). |
|
Definition at line 34 of file hash_types.H. Referenced by hashdist::hashdist(), and hashdist::tags(). |
|
Definition at line 133 of file hash_types.H. Referenced by hashenum< GEOM::cons >::get(). |