#include <cam.H>
Inheritance diagram for CAMhist:


Public Member Functions | |
| CAMhist (int num=100) | |
| LIST (int m=0) | |
| LIST (CLIST< CAMptr > &l) | |
| ARRAY (int m=0) | |
| ARRAY (CARRAY< CAMptr > &l) | |
| int | num () const |
| bool | empty () const |
| bool | valid_index (int k) const |
| void | set_unique () |
| CAMptr * | array () |
| CAMptr & | operator[] (int j) const |
| CAMptr & | last () const |
| CAMptr & | 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 CAMptr &el) const |
| bool | contains (const CAMptr &el) const |
| bool | add_uniquely (const CAMptr &el) |
| void | operator+= (const CAMptr &el) |
| ARRAY< CAMptr > & | operator+= (CARRAY< CAMptr > &b) |
| void | add (const CAMptr &p) |
| void | push (const CAMptr &p) |
| void | insert (int ind, int num) |
| bool | remove (int k) |
| bool | operator-= (const CAMptr &el) |
| void | operator-= (CARRAY< CAMptr > &l) |
| bool | rem (const CAMptr &p) |
| CAMptr | pop () |
| bool | pull_index (int k) |
| bool | pull_element (const CAMptr &p) |
| virtual void | shift (int p) |
| ARRAY< CAMptr > | 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 CAMptr &, int) const |
| virtual void | clear_index (const CAMptr &) const |
| virtual void | append_ele (const CAMptr &el) |
Protected Attributes | |
| CAMptr * | _array |
| int | _num |
| int | _max |
| bool | _unique |
| bool | _do_index |
Definition at line 241 of file cam.H.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from ARRAY< CAMptr >. |
|
|
|
|
||||||||||||
|
Reimplemented from ARRAY< CAMptr >. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4