Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

XformConstraint Class Reference

#include <geom.H>

Inheritance diagram for XformConstraint:

Inheritance graph
[legend]
Collaboration diagram for XformConstraint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 XformConstraint (Cstr_ptr &name, GEOM::cons cons, int net)
virtual str_ptr enum_to_str (GEOM::cons e) const
virtual GEOM::cons str_to_enum (Cstr_ptr &s) const
 hashenum (Cstr_ptr &var, GEOM::consval, int dist=0, int dup=0)
GEOM::cons get (CGELptr &g) const
void set (GELptr g, GEOM::consv)
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_ITEMdup () 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 STDdstreamformat (STDdstream &d) const
virtual STDdstreamdecode (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_ITEMDecode (STDdstream &d, int DelayDecoding=0)
static DATA_ITEMlookup (Cstr_ptr &d)
static HASHdi_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_listdupobs_list ()

Static Protected Member Functions

static GELdistobs_listdistobs_list ()
static EXISTobs_listexistobs_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

Detailed Description

Definition at line 245 of file geom.H.


Constructor & Destructor Documentation

XformConstraint::XformConstraint Cstr_ptr &  name,
GEOM::cons  cons,
int  net
[inline]
 

Definition at line 247 of file geom.H.


Member Function Documentation

void hashdist::add CGELptr g,
void *  v
[inline, protected, inherited]
 

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().

int DATA_ITEM::add_decoder Cstr_ptr &  d,
DATA_ITEM di,
int  copy = -1
[static, inherited]
 

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().

virtual void DATA_ITEM::add_tags  )  const [inline, virtual, inherited]
 

Definition at line 205 of file data_item.H.

virtual STAT_STR_RET hashdist::class_name  )  const [inline, virtual, inherited]
 

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().

DATA_ITEM * DATA_ITEM::Decode STDdstream d,
int  DelayDecoding = 0
[static, inherited]
 

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>>().

STDdstream & DATA_ITEM::decode STDdstream d  )  [virtual, inherited]
 

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().

void hashdist::del CGELptr g  )  [inline, inherited]
 

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().

void hashdist::del_hash_items  )  [inline, protected, inherited]
 

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().

static HASH* DATA_ITEM::di_hash  )  [inline, static, inherited]
 

Definition at line 225 of file data_item.H.

References DATA_ITEM::_hash.

static GELdistobs_list* GELdistobs::distobs_list  )  [inline, static, protected, inherited]
 

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().

void GELdistobs::distrib_obs  )  [inline, inherited]
 

Definition at line 28 of file gel_obs.H.

References ARRAY< T >::add_uniquely(), and GELdistobs::distobs_list().

Referenced by hashdist::hashdist().

virtual DATA_ITEM* hashdist::dup  )  const [inline, virtual, inherited]
 

Implements DATA_ITEM.

Definition at line 67 of file hash_types.H.

void DUPobs::dup_obs  )  [inline, inherited]
 

Definition at line 119 of file gel_obs.H.

References DUPobs::dupobs_list().

Referenced by hashdist::hashdist().

DUPobs_list* DUPobs::dupobs_list  )  [inline, protected, inherited]
 

Definition at line 110 of file gel_obs.H.

References DUPobs::_dup_obs.

Referenced by DUPobs::dup_obs(), and DUPobs::unobs_dup().

virtual str_ptr XformConstraint::enum_to_str GEOM::cons  e  )  const [inline, virtual]
 

Definition at line 249 of file geom.H.

References GEOM::AXIS_ROTATE, GEOM::LOOKUP, GEOM::SCALE, GEOM::SCALE_AXIS, GEOM::SCREEN_TEXT, GEOM::SCREEN_WIDGET, GEOM::SPHERE_ROTATE, GEOM::SURFACE_SNAP, GEOM::TRANS_FREE, GEOM::TRANS_LINE, and GEOM::TRANS_PLANE.

void EXISTobs::exist_obs  )  [inline, inherited]
 

Definition at line 58 of file gel_obs.H.

References EXISTobs::existobs_list().

Referenced by DISTRIB::DISTRIB(), hashdist::hashdist(), and VisRefImage::observe().

static EXISTobs_list* EXISTobs::existobs_list  )  [inline, static, protected, inherited]
 

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().

void* hashdist::find CGELptr g  )  const [inline, protected, inherited]
 

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().

STDdstream & DATA_ITEM::format STDdstream d  )  const [virtual, inherited]
 

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().

GEOM::cons hashenum< GEOM::cons >::get CGELptr g  )  const [inline, inherited]
 

Definition at line 139 of file hash_types.H.

References hashenum< T >::_val, and hashdist::find().

virtual void hashenum< GEOM::cons >::get_var TAGformat d  )  [inline, virtual, inherited]
 

Implements hashdist.

Definition at line 155 of file hash_types.H.

References hashenum< T >::set(), and hashenum< T >::str_to_enum().

CHASH& hashdist::hash  )  const [inline, inherited]
 

Definition at line 65 of file hash_types.H.

References hashdist::_dhash.

hashenum< GEOM::cons >::hashenum Cstr_ptr &  var,
GEOM::cons   val,
int  dist = 0,
int  dup = 0
[inline, inherited]
 

Definition at line 136 of file hash_types.H.

int hashdist::is_default CGELptr g  )  const [inline, inherited]
 

Definition at line 64 of file hash_types.H.

References hashdist::find().

virtual int DATA_ITEM::is_of_type Cstr_ptr &  t  )  const [inline, virtual, inherited]
 

Definition at line 214 of file data_item.H.

References IS.

Referenced by BMESH::operator=().

static DATA_ITEM* DATA_ITEM::lookup Cstr_ptr &  d  )  [inline, static, inherited]
 

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().

virtual void hashdist::notify_distrib STDdstream ds,
CGELptr g
[inline, virtual, inherited]
 

Implements GELdistobs.

Definition at line 74 of file hash_types.H.

References hashdist::class_name(), and hashdist::put_var().

Referenced by JOThash::put().

static void GELdistobs::notify_distrib_obs STDdstream d,
CGELptr gel
[inline, static, inherited]
 

Definition at line 23 of file gel_obs.H.

References GELdistobs::distobs_list().

Referenced by JOTsend_geom::format().

virtual void hashenum< GEOM::cons >::notify_dup CGELptr old,
CGELptr newg
[inline, virtual, inherited]
 

Implements hashdist.

Definition at line 159 of file hash_types.H.

References hashdist::find(), hashenum< T >::get(), and hashenum< T >::set().

static void DUPobs::notify_dup_obs CGELptr o,
CGELptr newg
[inline, static, inherited]
 

Definition at line 114 of file gel_obs.H.

References DUPobs::_dup_obs.

Referenced by GEL::GEL().

virtual void hashdist::notify_exist CGELptr g,
int  f
[inline, virtual, inherited]
 

Implements EXISTobs.

Reimplemented in hashptr< T >.

Definition at line 71 of file hash_types.H.

References hashdist::del().

static void EXISTobs::notify_exist_obs CGELptr o,
int  f
[inline, static, inherited]
 

Definition at line 52 of file gel_obs.H.

References EXISTobs::_exist_obs, and EXISTobs::existobs_list().

virtual void hashdist::put_dummy TAGformat  )  const [inline, virtual, inherited]
 

Definition at line 69 of file hash_types.H.

Referenced by hashdist::hashdist().

virtual void hashenum< GEOM::cons >::put_var TAGformat d,
CGELptr gel
const [inline, virtual, inherited]
 

Implements hashdist.

Definition at line 150 of file hash_types.H.

References hashdist::class_name(), TAGformat::end_id(), hashdist::find(), hashenum< T >::get(), and TAGformat::id().

virtual void DATA_ITEM::recompute  )  [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 208 of file data_item.H.

Referenced by DATA_ITEM::decode().

void hashenum< GEOM::cons >::set GELptr  g,
GEOM::cons   v
[inline, inherited]
 

Definition at line 141 of file hash_types.H.

References hashdist::_dist, hashdist::add(), hashdist::del(), and HASHobs::notify_hash_obs().

static void DATA_ITEM::set_default_decoder DATA_ITEM *(*)(STDdstream &, Cstr_ptr &, DATA_ITEM *)  d  )  [inline, static, inherited]
 

Definition at line 218 of file data_item.H.

References DATA_ITEM::_decode_unknown.

STAT_STR_RET DATA_ITEM::static_name  )  [static, inherited]
 

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().

virtual GEOM::cons XformConstraint::str_to_enum Cstr_ptr &  s  )  const [inline, virtual]
 

Reimplemented from hashenum< GEOM::cons >.

Definition at line 265 of file geom.H.

References GEOM::AXIS_ROTATE, GEOM::LOOKUP, GEOM::NO_TRANS, GEOM::SCALE, GEOM::SCALE_AXIS, GEOM::SCREEN_TEXT, GEOM::SCREEN_WIDGET, GEOM::SPHERE_ROTATE, GEOM::SURFACE_SNAP, GEOM::TRANS_FREE, GEOM::TRANS_LINE, and GEOM::TRANS_PLANE.

virtual CTAGlist& hashdist::tags  )  const [inline, virtual, inherited]
 

Reimplemented from DATA_ITEM.

Definition at line 66 of file hash_types.H.

References hashdist::_tags.

void GELdistobs::unobs_distrib  )  [inline, inherited]
 

Definition at line 29 of file gel_obs.H.

References GELdistobs::distobs_list(), and ARRAY< T >::rem().

void DUPobs::unobs_dup  )  [inline, inherited]
 

Definition at line 120 of file gel_obs.H.

References DUPobs::dupobs_list().

void EXISTobs::unobs_exist  )  [inline, inherited]
 

Definition at line 59 of file gel_obs.H.

References EXISTobs::existobs_list().

Referenced by VisRefImage::unobserve().


Member Data Documentation

int DATA_ITEM::_copy [protected, inherited]
 

Definition at line 197 of file data_item.H.

Referenced by DATA_ITEM::Decode().

GELlist EXISTobs::_created [static, protected, inherited]
 

Definition at line 44 of file gel_obs.H.

TAGlist DATA_ITEM::_DEFINERtags [protected, inherited]
 

Definition at line 198 of file data_item.H.

Referenced by DATA_ITEM::tags().

HASH hashdist::_dhash [protected, inherited]
 

Definition at line 32 of file hash_types.H.

Referenced by hashdist::add(), hashdist::del(), hashdist::del_hash_items(), hashdist::find(), and hashdist::hash().

const int hashdist::_dist [protected, inherited]
 

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().

GELdistobs_list * GELdistobs::_dist_obs = 0 [static, protected, inherited]
 

Definition at line 18 of file gel_obs.H.

Referenced by GELdistobs::distobs_list().

const int hashdist::_dup [protected, inherited]
 

Definition at line 33 of file hash_types.H.

Referenced by hashdist::hashdist().

DUPobs_list * DUPobs::_dup_obs = 0 [static, protected, inherited]
 

Definition at line 109 of file gel_obs.H.

Referenced by DUPobs::dupobs_list(), and DUPobs::notify_dup_obs().

EXISTobs_list * EXISTobs::_exist_obs = 0 [static, protected, inherited]
 

Definition at line 46 of file gel_obs.H.

Referenced by EXISTobs::existobs_list(), and EXISTobs::notify_exist_obs().

str_ptr hashdist::_str [protected, inherited]
 

Definition at line 30 of file hash_types.H.

Referenced by hashdist::class_name(), and hashdist::hashdist().

TAGlist hashdist::_tags [protected, inherited]
 

Definition at line 34 of file hash_types.H.

Referenced by hashdist::hashdist(), and hashdist::tags().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:47:58 2006 for jot by  doxygen 1.4.4