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

CAMhist Class Reference

#include <cam.H>

Inheritance diagram for CAMhist:

Inheritance graph
[legend]
Collaboration diagram for CAMhist:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 241 of file cam.H.


Constructor & Destructor Documentation

CAMhist::CAMhist (  int  num = 100  )  [inline]
 

Definition at line 243 of file cam.H.


Member Function Documentation

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

Definition at line 306 of file support.H.

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

Definition at line 289 of file support.H.

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

Definition at line 154 of file support.H.

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

Definition at line 189 of file support.H.

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

Definition at line 177 of file support.H.

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

Definition at line 173 of file support.H.

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

Definition at line 206 of file support.H.

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

Definition at line 224 of file support.H.

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

Reimplemented from ARRAY< CAMptr >.

Definition at line 540 of file support.H.

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

Definition at line 137 of file support.H.

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

Reimplemented from ARRAY< CAMptr >.

Definition at line 541 of file support.H.

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

Definition at line 283 of file support.H.

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

Definition at line 185 of file support.H.

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

Definition at line 213 of file support.H.

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

Definition at line 417 of file support.H.

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

Definition at line 198 of file support.H.

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

Definition at line 275 of file support.H.

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

Definition at line 319 of file support.H.

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

Definition at line 219 of file support.H.

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

Definition at line 194 of file support.H.

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

Definition at line 548 of file support.H.

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

Definition at line 547 of file support.H.

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

Definition at line 184 of file support.H.

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

Definition at line 431 of file support.H.

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

Definition at line 298 of file support.H.

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

Definition at line 451 of file support.H.

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

Definition at line 352 of file support.H.

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

Definition at line 190 of file support.H.

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

Definition at line 357 of file support.H.

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

Definition at line 383 of file support.H.

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

Definition at line 366 of file support.H.

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

Definition at line 309 of file support.H.

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

Definition at line 252 of file support.H.

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

Definition at line 353 of file support.H.

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

Definition at line 333 of file support.H.

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

Definition at line 457 of file support.H.

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

Definition at line 136 of file support.H.

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

Definition at line 187 of file support.H.

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

Definition at line 389 of file support.H.

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

Definition at line 468 of file support.H.

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

Definition at line 234 of file support.H.

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

Definition at line 186 of file support.H.


Member Data Documentation

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

Definition at line 121 of file support.H.

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

Definition at line 125 of file support.H.

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

Definition at line 123 of file support.H.

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

Definition at line 122 of file support.H.

bool ARRAY< CAMptr >::_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:46 2006 for jot by  doxygen 1.4.4