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

BMD_array< T > Class Template Reference

#include <drawable.H>

Inheritance diagram for BMD_array< T >:

Inheritance graph
[legend]
Collaboration diagram for BMD_array< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BMD_array (int n=0)
 BMD_array (const RIC_array< T > &list)
int draw (CVIEWptr &v) const
int draw_vis_ref () const
int draw_id_ref () const
int draw_id_ref_pre1 () const
int draw_id_ref_pre2 () const
int draw_id_ref_pre3 () const
int draw_id_ref_pre4 () const
int draw_color_ref () const
int draw_color_ref_2 () const
int draw_tex_mem_ref () const
int draw_ref_img (RefImageClient::ref_img_t t) const
int draw_final (CVIEWptr &v) const
RefImageClient::ref_img_t use_ref_image () const
 ARRAY (int m=0)
 ARRAY (CARRAY< T * > &l)
int num () const
bool empty () const
bool valid_index (int k) const
void set_unique ()
T ** array ()
T *& operator[] (int j) const
T *& last () const
T *& first () const
void begin_index ()
void end_index ()
bool is_indexing () const
virtual void clear ()
virtual void truncate (int n)
virtual void realloc (int new_max=0)
virtual int get_index (const T *&el) const
bool contains (const T *&el) const
bool add_uniquely (const T *&el)
void operator+= (const T *&el)
ARRAY< T * > & operator+= (CARRAY< T * > &b)
void add (const T *&p)
void push (const T *&p)
void insert (int ind, int num)
bool remove (int k)
bool operator-= (const T *&el)
void operator-= (CARRAY< T * > &l)
bool rem (const T *&p)
T * pop ()
bool pull_index (int k)
bool pull_element (const T *&p)
virtual void shift (int p)
ARRAY< T * > extract (int start, int n) const
virtual void reverse ()
virtual void sort (compare_func_t compare)

Protected Member Functions

virtual void set_index (const T *&, int) const
virtual void clear_index (const T *&) const
virtual void clear_ele (int)
virtual void clear_range (int i, int j)
virtual void append_ele (const T *&el)

Protected Attributes

T ** _array
int _num
int _max
bool _unique
bool _do_index

Detailed Description

template<class T>
class BMD_array< T >

Definition at line 47 of file drawable.H.


Constructor & Destructor Documentation

template<class T>
BMD_array< T >::BMD_array int  n = 0  )  [inline]
 

Definition at line 50 of file drawable.H.

template<class T>
BMD_array< T >::BMD_array const RIC_array< T > &  list  )  [inline]
 

Definition at line 51 of file drawable.H.


Member Function Documentation

void ARRAY< T * >::add const T * &  p  )  [inline, inherited]
 

Definition at line 306 of file support.H.

bool ARRAY< T * >::add_uniquely const T * &  el  )  [inline, inherited]
 

Definition at line 289 of file support.H.

virtual void ARRAY< T * >::append_ele const T * &  el  )  [inline, protected, virtual, inherited]
 

Definition at line 154 of file support.H.

T * * ARRAY< T * >::array  )  [inline, inherited]
 

Definition at line 189 of file support.H.

ARRAY< T * >::ARRAY CARRAY< T * > &  l  )  [inline, inherited]
 

Definition at line 177 of file support.H.

ARRAY< T * >::ARRAY int  m = 0  )  [inline, inherited]
 

Definition at line 173 of file support.H.

void ARRAY< T * >::begin_index  )  [inline, inherited]
 

Definition at line 206 of file support.H.

virtual void ARRAY< T * >::clear void   )  [inline, virtual, inherited]
 

Definition at line 224 of file support.H.

virtual void ARRAY< T * >::clear_ele int   )  [inline, protected, virtual, inherited]
 

Definition at line 143 of file support.H.

virtual void ARRAY< T * >::clear_index const T * &   )  const [inline, protected, virtual, inherited]
 

Definition at line 137 of file support.H.

virtual void ARRAY< T * >::clear_range int  i,
int  j
[inline, protected, virtual, inherited]
 

Definition at line 146 of file support.H.

bool ARRAY< T * >::contains const T * &  el  )  const [inline, inherited]
 

Definition at line 283 of file support.H.

template<class T>
int BMD_array< T >::draw CVIEWptr &  v  )  const [inline]
 

Reimplemented from RIC_array< T >.

Definition at line 54 of file drawable.H.

Referenced by BMESH::draw().

template<class T>
int RIC_array< T >::draw_color_ref  )  const [inline, inherited]
 

Definition at line 180 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_color_ref_2  )  const [inline, inherited]
 

Definition at line 186 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_final CVIEWptr &  v  )  const [inline, inherited]
 

Definition at line 204 of file ref_img_client.H.

Referenced by BMESH::draw_final().

template<class T>
int RIC_array< T >::draw_id_ref  )  const [inline, inherited]
 

Definition at line 148 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_id_ref_pre1  )  const [inline, inherited]
 

Definition at line 154 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_id_ref_pre2  )  const [inline, inherited]
 

Definition at line 160 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_id_ref_pre3  )  const [inline, inherited]
 

Definition at line 166 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_id_ref_pre4  )  const [inline, inherited]
 

Definition at line 172 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_ref_img RefImageClient::ref_img_t  t  )  const [inline, inherited]
 

Definition at line 198 of file ref_img_client.H.

Referenced by BMESH::draw_ref_img().

template<class T>
int RIC_array< T >::draw_tex_mem_ref  )  const [inline, inherited]
 

Definition at line 192 of file ref_img_client.H.

template<class T>
int RIC_array< T >::draw_vis_ref  )  const [inline, inherited]
 

Definition at line 142 of file ref_img_client.H.

Referenced by BMESH::draw_vis_ref().

bool ARRAY< T * >::empty  )  const [inline, inherited]
 

Definition at line 185 of file support.H.

void ARRAY< T * >::end_index  )  [inline, inherited]
 

Definition at line 213 of file support.H.

ARRAY<T * > ARRAY< T * >::extract int  start,
int  n
const [inline, inherited]
 

Definition at line 417 of file support.H.

T * & ARRAY< T * >::first  )  const [inline, inherited]
 

Definition at line 198 of file support.H.

virtual int ARRAY< T * >::get_index const T * &  el  )  const [inline, virtual, inherited]
 

Definition at line 275 of file support.H.

void ARRAY< T * >::insert int  ind,
int  num
[inline, inherited]
 

Definition at line 319 of file support.H.

bool ARRAY< T * >::is_indexing  )  const [inline, inherited]
 

Definition at line 219 of file support.H.

T * & ARRAY< T * >::last  )  const [inline, inherited]
 

Definition at line 194 of file support.H.

int ARRAY< T * >::num  )  const [inline, inherited]
 

Definition at line 184 of file support.H.

Referenced by RIC_array< Patch >::draw(), BMD_array< Patch >::draw(), RIC_array< Patch >::draw_color_ref(), RIC_array< Patch >::draw_color_ref_2(), RIC_array< Patch >::draw_final(), RIC_array< Patch >::draw_id_ref(), RIC_array< Patch >::draw_id_ref_pre1(), RIC_array< Patch >::draw_id_ref_pre2(), RIC_array< Patch >::draw_id_ref_pre3(), RIC_array< Patch >::draw_id_ref_pre4(), RIC_array< Patch >::draw_ref_img(), RIC_array< Patch >::draw_tex_mem_ref(), RIC_array< Patch >::draw_vis_ref(), and RIC_array< Patch >::use_ref_image().

ARRAY<T * >& ARRAY< T * >::operator+= CARRAY< T * > &  b  )  [inline, inherited]
 

Definition at line 431 of file support.H.

void ARRAY< T * >::operator+= const T * &  el  )  [inline, inherited]
 

Definition at line 298 of file support.H.

void ARRAY< T * >::operator-= CARRAY< T * > &  l  )  [inline, inherited]
 

Definition at line 451 of file support.H.

bool ARRAY< T * >::operator-= const T * &  el  )  [inline, inherited]
 

Definition at line 352 of file support.H.

T * & ARRAY< T * >::operator[] int  j  )  const [inline, inherited]
 

Definition at line 190 of file support.H.

T * ARRAY< T * >::pop  )  [inline, inherited]
 

Definition at line 357 of file support.H.

bool ARRAY< T * >::pull_element const T * &  p  )  [inline, inherited]
 

Definition at line 383 of file support.H.

bool ARRAY< T * >::pull_index int  k  )  [inline, inherited]
 

Definition at line 366 of file support.H.

void ARRAY< T * >::push const T * &  p  )  [inline, inherited]
 

Definition at line 309 of file support.H.

virtual void ARRAY< T * >::realloc int  new_max = 0  )  [inline, virtual, inherited]
 

Definition at line 252 of file support.H.

bool ARRAY< T * >::rem const T * &  p  )  [inline, inherited]
 

Definition at line 353 of file support.H.

bool ARRAY< T * >::remove int  k  )  [inline, inherited]
 

Definition at line 333 of file support.H.

virtual void ARRAY< T * >::reverse  )  [inline, virtual, inherited]
 

Definition at line 457 of file support.H.

virtual void ARRAY< T * >::set_index const T * &  ,
int 
const [inline, protected, virtual, inherited]
 

Definition at line 136 of file support.H.

void ARRAY< T * >::set_unique  )  [inline, inherited]
 

Definition at line 187 of file support.H.

virtual void ARRAY< T * >::shift int  p  )  [inline, virtual, inherited]
 

Definition at line 389 of file support.H.

virtual void ARRAY< T * >::sort compare_func_t  compare  )  [inline, virtual, inherited]
 

Definition at line 468 of file support.H.

virtual void ARRAY< T * >::truncate int  n  )  [inline, virtual, inherited]
 

Definition at line 234 of file support.H.

template<class T>
RefImageClient::ref_img_t RIC_array< T >::use_ref_image  )  const [inline, inherited]
 

Definition at line 210 of file ref_img_client.H.

Referenced by BMESH::use_ref_image().

bool ARRAY< T * >::valid_index int  k  )  const [inline, inherited]
 

Definition at line 186 of file support.H.


Member Data Documentation

T * * ARRAY< T * >::_array [protected, inherited]
 

Definition at line 121 of file support.H.

bool ARRAY< T * >::_do_index [protected, inherited]
 

Definition at line 125 of file support.H.

int ARRAY< T * >::_max [protected, inherited]
 

Definition at line 123 of file support.H.

int ARRAY< T * >::_num [protected, inherited]
 

Definition at line 122 of file support.H.

bool ARRAY< T * >::_unique [protected, inherited]
 

Definition at line 124 of file support.H.


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