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

VIEWlist Class Reference

#include <view.H>

Inheritance diagram for VIEWlist:

Inheritance graph
[legend]
Collaboration diagram for VIEWlist:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VIEWlist (int num=16)
void rem (CVIEWptr &v)
void add (CVIEWptr &v)
 LIST (int m=0)
 LIST (CLIST< VIEWptr > &l)
 ARRAY (int m=0)
 ARRAY (CARRAY< VIEWptr > &l)
int num () const
bool empty () const
bool valid_index (int k) const
void set_unique ()
VIEWptr * array ()
VIEWptr & operator[] (int j) const
VIEWptr & last () const
VIEWptr & 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 VIEWptr &el) const
bool contains (const VIEWptr &el) const
bool add_uniquely (const VIEWptr &el)
void operator+= (const VIEWptr &el)
ARRAY< VIEWptr > & operator+= (CARRAY< VIEWptr > &b)
void add (const VIEWptr &p)
void push (const VIEWptr &p)
void insert (int ind, int num)
bool remove (int k)
bool operator-= (const VIEWptr &el)
void operator-= (CARRAY< VIEWptr > &l)
bool rem (const VIEWptr &p)
VIEWptr pop ()
bool pull_index (int k)
bool pull_element (const VIEWptr &p)
virtual void shift (int p)
ARRAY< VIEWptr > extract (int start, int n) const
virtual void reverse ()
virtual void sort (compare_func_t compare)

Protected Member Functions

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

Protected Attributes

VIEWptr * _array
int _num
int _max
bool _unique
bool _do_index

Detailed Description

Definition at line 65 of file view.H.


Constructor & Destructor Documentation

VIEWlist::VIEWlist (  int  num = 16  )  [inline]
 

Definition at line 67 of file view.H.


Member Function Documentation

void ARRAY< VIEWptr >::add (  const VIEWptr &  p  )  [inline, inherited]
 

Definition at line 306 of file support.H.

void VIEWlist::add (  CVIEWptr &  v  )  [inline]
 

Definition at line 71 of file view.H.

References ARRAY< T >::add_uniquely(), and VIEWobs::notify_viewobs().

Referenced by VIEW::VIEW().

bool ARRAY< VIEWptr >::add_uniquely (  const VIEWptr &  el  )  [inline, inherited]
 

Definition at line 289 of file support.H.

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

Definition at line 154 of file support.H.

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

Definition at line 189 of file support.H.

ARRAY< VIEWptr >::ARRAY (  CARRAY< VIEWptr > &  l  )  [inline, inherited]
 

Definition at line 177 of file support.H.

ARRAY< VIEWptr >::ARRAY (  int  m = 0  )  [inline, inherited]
 

Definition at line 173 of file support.H.

void ARRAY< VIEWptr >::begin_index (   )  [inline, inherited]
 

Definition at line 206 of file support.H.

virtual void ARRAY< VIEWptr >::clear (  void   )  [inline, virtual, inherited]
 

Definition at line 224 of file support.H.

virtual void LIST< VIEWptr >::clear_ele (  int  i  )  [inline, protected, virtual, inherited]
 

Reimplemented from ARRAY< VIEWptr >.

Definition at line 540 of file support.H.

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

Definition at line 137 of file support.H.

virtual void LIST< VIEWptr >::clear_range (  int  i,
int  j
)  [inline, protected, virtual, inherited]
 

Reimplemented from ARRAY< VIEWptr >.

Definition at line 541 of file support.H.

bool ARRAY< VIEWptr >::contains (  const VIEWptr &  el  )  const [inline, inherited]
 

Definition at line 283 of file support.H.

bool ARRAY< VIEWptr >::empty (   )  const [inline, inherited]
 

Definition at line 185 of file support.H.

void ARRAY< VIEWptr >::end_index (   )  [inline, inherited]
 

Definition at line 213 of file support.H.

ARRAY<VIEWptr > ARRAY< VIEWptr >::extract (  int  start,
int  n
)  const [inline, inherited]
 

Definition at line 417 of file support.H.

VIEWptr & ARRAY< VIEWptr >::first (   )  const [inline, inherited]
 

Definition at line 198 of file support.H.

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

Definition at line 275 of file support.H.

void ARRAY< VIEWptr >::insert (  int  ind,
int  num
)  [inline, inherited]
 

Definition at line 319 of file support.H.

bool ARRAY< VIEWptr >::is_indexing (   )  const [inline, inherited]
 

Definition at line 219 of file support.H.

VIEWptr & ARRAY< VIEWptr >::last (   )  const [inline, inherited]
 

Definition at line 194 of file support.H.

LIST< VIEWptr >::LIST (  CLIST< VIEWptr > &  l  )  [inline, inherited]
 

Definition at line 548 of file support.H.

LIST< VIEWptr >::LIST (  int  m = 0  )  [inline, inherited]
 

Definition at line 547 of file support.H.

int ARRAY< VIEWptr >::num (   )  const [inline, inherited]
 

Definition at line 184 of file support.H.

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

Definition at line 431 of file support.H.

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

Definition at line 298 of file support.H.

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

Definition at line 451 of file support.H.

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

Definition at line 352 of file support.H.

VIEWptr & ARRAY< VIEWptr >::operator[] (  int  j  )  const [inline, inherited]
 

Definition at line 190 of file support.H.

VIEWptr ARRAY< VIEWptr >::pop (   )  [inline, inherited]
 

Definition at line 357 of file support.H.

bool ARRAY< VIEWptr >::pull_element (  const VIEWptr &  p  )  [inline, inherited]
 

Definition at line 383 of file support.H.

bool ARRAY< VIEWptr >::pull_index (  int  k  )  [inline, inherited]
 

Definition at line 366 of file support.H.

void ARRAY< VIEWptr >::push (  const VIEWptr &  p  )  [inline, inherited]
 

Definition at line 309 of file support.H.

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

Definition at line 252 of file support.H.

bool ARRAY< VIEWptr >::rem (  const VIEWptr &  p  )  [inline, inherited]
 

Definition at line 353 of file support.H.

void VIEWlist::rem (  CVIEWptr &  v  )  [inline]
 

Definition at line 69 of file view.H.

References VIEWobs::notify_viewobs(), and ARRAY< T >::rem().

bool ARRAY< VIEWptr >::remove (  int  k  )  [inline, inherited]
 

Definition at line 333 of file support.H.

virtual void ARRAY< VIEWptr >::reverse (   )  [inline, virtual, inherited]
 

Definition at line 457 of file support.H.

virtual void ARRAY< VIEWptr >::set_index (  const VIEWptr &  ,
int 
)  const [inline, protected, virtual, inherited]
 

Definition at line 136 of file support.H.

void ARRAY< VIEWptr >::set_unique (   )  [inline, inherited]
 

Definition at line 187 of file support.H.

virtual void ARRAY< VIEWptr >::shift (  int  p  )  [inline, virtual, inherited]
 

Definition at line 389 of file support.H.

virtual void ARRAY< VIEWptr >::sort (  compare_func_t  compare  )  [inline, virtual, inherited]
 

Definition at line 468 of file support.H.

virtual void ARRAY< VIEWptr >::truncate (  int  n  )  [inline, virtual, inherited]
 

Definition at line 234 of file support.H.

bool ARRAY< VIEWptr >::valid_index (  int  k  )  const [inline, inherited]
 

Definition at line 186 of file support.H.


Member Data Documentation

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

Definition at line 121 of file support.H.

bool ARRAY< VIEWptr >::_do_index [protected, inherited]
 

Definition at line 125 of file support.H.

int ARRAY< VIEWptr >::_max [protected, inherited]
 

Definition at line 123 of file support.H.

int ARRAY< VIEWptr >::_num [protected, inherited]
 

Definition at line 122 of file support.H.

bool ARRAY< VIEWptr >::_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:47:53 2006 for jot by  doxygen 1.4.4