#include <data_item.H>
Inheritance diagram for TDI< T >:
Public Member Functions | |
TDI (const T &x) | |
T & | get () |
const T & | get () const |
virtual DATA_ITEM * | dup () const |
virtual CTAGlist & | tags () const |
virtual STAT_STR_RET | class_name () const |
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 |
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 () |
Protected Member Functions | |
void | put_val (TAGformat &d) const |
void | get_val (TAGformat &d) |
Protected Attributes | |
T | _x |
TAGlist | _tags |
int | _copy |
TAGlist | _DEFINERtags |
Definition at line 242 of file data_item.H.
|
Definition at line 249 of file data_item.H. References TDI< T >::_tags, TDI< T >::get_val(), NULL_STR, and TDI< T >::put_val(). |
|
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 255 of file data_item.H. References TDI< T >::_x, and NAME(). |
|
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. Definition at line 253 of file data_item.H. References TDI< T >::_x. |
|
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 252 of file data_item.H. References TDI< T >::_x. |
|
Definition at line 251 of file data_item.H. References TDI< T >::_x. |
|
Definition at line 247 of file data_item.H. References TDI< T >::_x. Referenced by TDI< T >::TDI(). |
|
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(). |
|
Definition at line 246 of file data_item.H. References TDI< T >::_x, TAGformat::end_id(), and TAGformat::id(). Referenced by TDI< T >::TDI(). |
|
Reimplemented in Patch. Definition at line 208 of file data_item.H. Referenced by DATA_ITEM::decode(). |
|
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 from DATA_ITEM. Definition at line 254 of file data_item.H. References TDI< T >::_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 245 of file data_item.H. Referenced by TDI< T >::tags(), and TDI< T >::TDI(). |
|
Definition at line 244 of file data_item.H. Referenced by TDI< T >::class_name(), TDI< T >::dup(), TDI< T >::get(), TDI< T >::get_val(), and TDI< T >::put_val(). |