Collection< Element > Class Template Reference

#include <collection.h>

List of all members.

Public Member Functions

 Collection ()
 ~Collection ()
int maxCounters ()
int number ()
int maxnumber ()
void setFirst ()
void setFirstLast ()
void goFirst ()
void goFirst (int i)
void goFirstNext ()
void goFirstNext (int i)
void FirstNext ()
void FirstPrev ()
bool isFirstLast ()
void goLastNext ()
void goLastNext (int i)
void goLast ()
void goLast (int i)
void goNext ()
void goNext (int i)
void goPrev ()
void goPrev (int i)
bool isFirst ()
bool isFirst (int i)
bool isLast ()
bool isLast (int i)
void LastNext ()
void LastPrev ()
void go (Item< Element > *p)
Element * First ()
Element * Last ()
Element * Next ()
Element * Next (int i)
Element * getNext ()
Element * getNext (int i)
Element * Prev ()
Element * Prev (int i)
Element * getPrev ()
Element * getPrev (int i)
Element * Current ()
Element * Current (int i)
Item< Element > * getItem ()
Item< Element > * getItem (int i)
Item< Element > * getFirstItem ()
Item< Element > * getLastItem ()
bool init (int n)
Element * insertAfter ()
Element * insert0 ()
Element * insert ()
Element * insert (int icounter)
bool insert0 (Element *element)
bool insert (Element *element)
bool insert (Element *element, int icounter)
Element * append0 ()
Element * append ()
Element * append (int icounter)
bool append0 (Element *element)
bool append (Element *element)
bool append (Element *element, int icounter)
bool remove0 ()
bool remove ()
bool remove (int icounter)

Private Attributes

int mitems
int nitems
bool locked
struct Item< Element > * items
struct Item< Element > * dead
struct Item< Element > * first
struct Item< Element > * last
struct Item< Element > * current
struct Item< Element > * current1 [maxcounters]


Detailed Description

template<class Element>
class Collection< Element >

Definition at line 25 of file collection.h.


Constructor & Destructor Documentation

template<class Element >
Collection< Element >::Collection (  )  [inline]

template<class Element >
Collection< Element >::~Collection (  )  [inline]


Member Function Documentation

template<class Element >
bool Collection< Element >::append ( Element *  element,
int  icounter 
) [inline]

template<class Element >
bool Collection< Element >::append ( Element *  element  )  [inline]

Definition at line 322 of file collection.h.

References Collection< Element >::append().

template<class Element >
Element * Collection< Element >::append ( int  icounter  )  [inline]

template<class Element >
Element * Collection< Element >::append (  )  [inline]

template<class Element >
bool Collection< Element >::append0 ( Element *  element  ) 

template<class Element >
Element * Collection< Element >::append0 (  )  [inline]

template<class Element >
Element* Collection< Element >::Current ( int  i  )  [inline]

Definition at line 79 of file collection.h.

template<class Element >
Element* Collection< Element >::Current (  )  [inline]

template<class Element >
Element* Collection< Element >::First (  )  [inline]

Definition at line 68 of file collection.h.

template<class Element >
void Collection< Element >::FirstNext (  )  [inline]

Definition at line 50 of file collection.h.

template<class Element >
void Collection< Element >::FirstPrev (  )  [inline]

Definition at line 51 of file collection.h.

template<class Element >
Item<Element>* Collection< Element >::getFirstItem (  )  [inline]

Definition at line 82 of file collection.h.

template<class Element >
Item<Element>* Collection< Element >::getItem ( int  i  )  [inline]

Definition at line 81 of file collection.h.

template<class Element >
Item<Element>* Collection< Element >::getItem (  )  [inline]

Definition at line 80 of file collection.h.

template<class Element >
Item<Element>* Collection< Element >::getLastItem (  )  [inline]

Definition at line 83 of file collection.h.

template<class Element >
Element* Collection< Element >::getNext ( int  i  )  [inline]

Definition at line 73 of file collection.h.

template<class Element >
Element* Collection< Element >::getNext (  )  [inline]

Definition at line 72 of file collection.h.

template<class Element >
Element* Collection< Element >::getPrev ( int  i  )  [inline]

Definition at line 77 of file collection.h.

template<class Element >
Element* Collection< Element >::getPrev (  )  [inline]

Definition at line 76 of file collection.h.

template<class Element >
void Collection< Element >::go ( Item< Element > *  p  )  [inline]

Definition at line 67 of file collection.h.

template<class Element >
void Collection< Element >::goFirst ( int  i  )  [inline]

Definition at line 47 of file collection.h.

template<class Element >
void Collection< Element >::goFirst (  )  [inline]

template<class Element >
void Collection< Element >::goFirstNext ( int  i  )  [inline]

Definition at line 49 of file collection.h.

template<class Element >
void Collection< Element >::goFirstNext (  )  [inline]

Definition at line 48 of file collection.h.

template<class Element >
void Collection< Element >::goLast ( int  i  )  [inline]

Definition at line 56 of file collection.h.

template<class Element >
void Collection< Element >::goLast (  )  [inline]

Definition at line 55 of file collection.h.

template<class Element >
void Collection< Element >::goLastNext ( int  i  )  [inline]

Definition at line 54 of file collection.h.

template<class Element >
void Collection< Element >::goLastNext (  )  [inline]

Definition at line 53 of file collection.h.

template<class Element >
void Collection< Element >::goNext ( int  i  )  [inline]

Definition at line 58 of file collection.h.

template<class Element >
void Collection< Element >::goNext (  )  [inline]

template<class Element >
void Collection< Element >::goPrev ( int  i  )  [inline]

Definition at line 60 of file collection.h.

template<class Element >
void Collection< Element >::goPrev (  )  [inline]

Definition at line 59 of file collection.h.

template<class Element >
bool Collection< Element >::init ( int  n  )  [inline]

template<class Element >
bool Collection< Element >::insert ( Element *  element,
int  icounter 
) [inline]

template<class Element >
bool Collection< Element >::insert ( Element *  element  )  [inline]

Definition at line 240 of file collection.h.

References Collection< Element >::insert().

template<class Element >
Element * Collection< Element >::insert ( int  icounter  )  [inline]

template<class Element >
Element * Collection< Element >::insert (  )  [inline]

template<class Element >
bool Collection< Element >::insert0 ( Element *  element  ) 

template<class Element >
Element * Collection< Element >::insert0 (  )  [inline]

template<class Element >
Element * Collection< Element >::insertAfter (  )  [inline]

template<class Element >
bool Collection< Element >::isFirst ( int  i  )  [inline]

Definition at line 62 of file collection.h.

template<class Element >
bool Collection< Element >::isFirst (  )  [inline]

template<class Element >
bool Collection< Element >::isFirstLast (  )  [inline]

Definition at line 52 of file collection.h.

template<class Element >
bool Collection< Element >::isLast ( int  i  )  [inline]

Definition at line 64 of file collection.h.

template<class Element >
bool Collection< Element >::isLast (  )  [inline]

Definition at line 63 of file collection.h.

template<class Element >
Element* Collection< Element >::Last (  )  [inline]

Definition at line 69 of file collection.h.

template<class Element >
void Collection< Element >::LastNext (  )  [inline]

Definition at line 65 of file collection.h.

template<class Element >
void Collection< Element >::LastPrev (  )  [inline]

Definition at line 66 of file collection.h.

template<class Element >
int Collection< Element >::maxCounters (  )  [inline]

Definition at line 36 of file collection.h.

Referenced by Domain::run().

template<class Element >
int Collection< Element >::maxnumber (  )  [inline]

Definition at line 38 of file collection.h.

Referenced by Domain::run().

template<class Element >
Element* Collection< Element >::Next ( int  i  )  [inline]

Definition at line 71 of file collection.h.

template<class Element >
Element* Collection< Element >::Next (  )  [inline]

Definition at line 70 of file collection.h.

template<class Element >
int Collection< Element >::number (  )  [inline]

template<class Element >
Element* Collection< Element >::Prev ( int  i  )  [inline]

Definition at line 75 of file collection.h.

template<class Element >
Element* Collection< Element >::Prev (  )  [inline]

Definition at line 74 of file collection.h.

template<class Element >
bool Collection< Element >::remove ( int  icounter  )  [inline]

template<class Element >
bool Collection< Element >::remove (  )  [inline]

template<class Element >
bool Collection< Element >::remove0 (  )  [inline]

template<class Element >
void Collection< Element >::setFirst (  )  [inline]

Definition at line 39 of file collection.h.

template<class Element >
void Collection< Element >::setFirstLast (  )  [inline]

Definition at line 40 of file collection.h.


Member Data Documentation

template<class Element >
struct Item< Element > * Collection< Element >::current [read, private]

template<class Element >
struct Item< Element > * Collection< Element >::current1[maxcounters] [read, private]

template<class Element >
struct Item< Element > * Collection< Element >::dead [read, private]

template<class Element >
struct Item< Element > * Collection< Element >::first [read, private]

template<class Element >
struct Item< Element >* Collection< Element >::items [read, private]

Definition at line 28 of file collection.h.

template<class Element >
struct Item< Element > * Collection< Element >::last [read, private]

template<class Element >
bool Collection< Element >::locked [private]

template<class Element >
int Collection< Element >::mitems [private]

template<class Element >
int Collection< Element >::nitems [private]


The documentation for this class was generated from the following file:

Generated on Tue May 26 16:10:36 2009 for ReMoDy by  doxygen 1.5.7.1