#include <view.H>
Inheritance diagram for VIEWlist:
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 |
Definition at line 65 of file view.H.
|
|
|
|
|
Definition at line 71 of file view.H. References ARRAY< T >::add_uniquely(), and VIEWobs::notify_viewobs(). Referenced by VIEW::VIEW(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from ARRAY< VIEWptr >. |
|
|
|
Reimplemented from ARRAY< VIEWptr >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 69 of file view.H. References VIEWobs::notify_viewobs(), and ARRAY< T >::rem(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|