#include <collection.h>
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] |
Definition at line 25 of file collection.h.
| Collection< Element >::Collection | ( | ) | [inline] |
Definition at line 103 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::dead, Collection< Element >::first, Collection< Element >::last, Collection< Element >::locked, maxcounters, Collection< Element >::mitems, and Collection< Element >::nitems.
| Collection< Element >::~Collection | ( | ) | [inline] |
Definition at line 110 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::dead, Collection< Element >::first, Collection< Element >::last, maxcounters, Collection< Element >::mitems, and Collection< Element >::nitems.
| bool Collection< Element >::append | ( | Element * | element, | |
| int | icounter | |||
| ) | [inline] |
Definition at line 329 of file collection.h.
References Collection< Element >::append0(), Collection< Element >::current, Collection< Element >::current1, Collection< Element >::locked, maxcounters, and WAIT.
| bool Collection< Element >::append | ( | Element * | element | ) | [inline] |
| Element * Collection< Element >::append | ( | int | icounter | ) | [inline] |
Definition at line 308 of file collection.h.
References Collection< Element >::append0(), Collection< Element >::current, Collection< Element >::current1, Item< Element >::element, Collection< Element >::locked, maxcounters, and WAIT.
| Element * Collection< Element >::append | ( | ) | [inline] |
Definition at line 297 of file collection.h.
References Collection< Element >::append0(), Item< Element >::element, Collection< Element >::locked, and WAIT.
Referenced by Collection< Element >::append(), Bulk::inject(), Boundary::Inject(), and Domain::load().
| bool Collection< Element >::append0 | ( | Element * | element | ) |
| Element * Collection< Element >::append0 | ( | ) | [inline] |
Definition at line 263 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::dead, Collection< Element >::first, Collection< Element >::last, maxcounters, Item< Element >::next, Collection< Element >::nitems, and Item< Element >::prev.
Referenced by Collection< Element >::append().
| Element* Collection< Element >::Current | ( | int | i | ) | [inline] |
Definition at line 79 of file collection.h.
| Element* Collection< Element >::Current | ( | ) | [inline] |
Definition at line 78 of file collection.h.
Referenced by Domain::computeBounds(), Gui::display(), Domain::Domain(), Domain::run(), and Domain::save().
| Element* Collection< Element >::First | ( | ) | [inline] |
Definition at line 68 of file collection.h.
| void Collection< Element >::FirstNext | ( | ) | [inline] |
Definition at line 50 of file collection.h.
| void Collection< Element >::FirstPrev | ( | ) | [inline] |
Definition at line 51 of file collection.h.
| Item<Element>* Collection< Element >::getFirstItem | ( | ) | [inline] |
Definition at line 82 of file collection.h.
| Item<Element>* Collection< Element >::getItem | ( | int | i | ) | [inline] |
Definition at line 81 of file collection.h.
| Item<Element>* Collection< Element >::getItem | ( | ) | [inline] |
Definition at line 80 of file collection.h.
| Item<Element>* Collection< Element >::getLastItem | ( | ) | [inline] |
Definition at line 83 of file collection.h.
| Element* Collection< Element >::getNext | ( | int | i | ) | [inline] |
Definition at line 73 of file collection.h.
| Element* Collection< Element >::getNext | ( | ) | [inline] |
Definition at line 72 of file collection.h.
| Element* Collection< Element >::getPrev | ( | int | i | ) | [inline] |
Definition at line 77 of file collection.h.
| Element* Collection< Element >::getPrev | ( | ) | [inline] |
Definition at line 76 of file collection.h.
| void Collection< Element >::go | ( | Item< Element > * | p | ) | [inline] |
Definition at line 67 of file collection.h.
| void Collection< Element >::goFirst | ( | int | i | ) | [inline] |
Definition at line 47 of file collection.h.
| void Collection< Element >::goFirst | ( | ) | [inline] |
Definition at line 41 of file collection.h.
Referenced by Domain::computeBounds(), Gui::display(), Domain::Domain(), Domain::run(), and Domain::save().
| void Collection< Element >::goFirstNext | ( | int | i | ) | [inline] |
Definition at line 49 of file collection.h.
| void Collection< Element >::goFirstNext | ( | ) | [inline] |
Definition at line 48 of file collection.h.
| void Collection< Element >::goLast | ( | int | i | ) | [inline] |
Definition at line 56 of file collection.h.
| void Collection< Element >::goLast | ( | ) | [inline] |
Definition at line 55 of file collection.h.
| void Collection< Element >::goLastNext | ( | int | i | ) | [inline] |
Definition at line 54 of file collection.h.
| void Collection< Element >::goLastNext | ( | ) | [inline] |
Definition at line 53 of file collection.h.
| void Collection< Element >::goNext | ( | int | i | ) | [inline] |
Definition at line 58 of file collection.h.
| void Collection< Element >::goNext | ( | ) | [inline] |
Definition at line 57 of file collection.h.
Referenced by Domain::computeBounds(), Gui::display(), Domain::Domain(), Domain::run(), and Domain::save().
| void Collection< Element >::goPrev | ( | int | i | ) | [inline] |
Definition at line 60 of file collection.h.
| void Collection< Element >::goPrev | ( | ) | [inline] |
Definition at line 59 of file collection.h.
| bool Collection< Element >::init | ( | int | n | ) | [inline] |
Definition at line 117 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::dead, Collection< Element >::first, Collection< Element >::last, maxcounters, Collection< Element >::mitems, and Collection< Element >::nitems.
Referenced by Domain::Domain().
| bool Collection< Element >::insert | ( | Element * | element, | |
| int | icounter | |||
| ) | [inline] |
Definition at line 247 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::insert0(), Collection< Element >::locked, maxcounters, and WAIT.
| bool Collection< Element >::insert | ( | Element * | element | ) | [inline] |
| Element * Collection< Element >::insert | ( | int | icounter | ) | [inline] |
Definition at line 226 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Item< Element >::element, Collection< Element >::insert0(), Collection< Element >::locked, maxcounters, and WAIT.
| Element * Collection< Element >::insert | ( | ) | [inline] |
Definition at line 214 of file collection.h.
References Collection< Element >::insert0(), Collection< Element >::locked, Collection< Element >::number(), and WAIT.
Referenced by Collection< Element >::insert().
| bool Collection< Element >::insert0 | ( | Element * | element | ) |
| Element * Collection< Element >::insert0 | ( | ) | [inline] |
Definition at line 179 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::dead, Item< Element >::element, Collection< Element >::first, Collection< Element >::last, maxcounters, Item< Element >::next, Collection< Element >::nitems, and Item< Element >::prev.
Referenced by Collection< Element >::insert().
| Element * Collection< Element >::insertAfter | ( | ) | [inline] |
Definition at line 144 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::dead, Item< Element >::element, Collection< Element >::first, Collection< Element >::last, maxcounters, Item< Element >::next, Collection< Element >::nitems, and Item< Element >::prev.
Referenced by Domain::boundary().
| bool Collection< Element >::isFirst | ( | int | i | ) | [inline] |
Definition at line 62 of file collection.h.
| bool Collection< Element >::isFirst | ( | ) | [inline] |
Definition at line 61 of file collection.h.
Referenced by Domain::computeBounds(), Gui::display(), Domain::Domain(), Domain::run(), and Domain::save().
| bool Collection< Element >::isFirstLast | ( | ) | [inline] |
Definition at line 52 of file collection.h.
| bool Collection< Element >::isLast | ( | int | i | ) | [inline] |
Definition at line 64 of file collection.h.
| bool Collection< Element >::isLast | ( | ) | [inline] |
Definition at line 63 of file collection.h.
| Element* Collection< Element >::Last | ( | ) | [inline] |
Definition at line 69 of file collection.h.
| void Collection< Element >::LastNext | ( | ) | [inline] |
Definition at line 65 of file collection.h.
| void Collection< Element >::LastPrev | ( | ) | [inline] |
Definition at line 66 of file collection.h.
| int Collection< Element >::maxCounters | ( | ) | [inline] |
| int Collection< Element >::maxnumber | ( | ) | [inline] |
| Element* Collection< Element >::Next | ( | int | i | ) | [inline] |
Definition at line 71 of file collection.h.
| Element* Collection< Element >::Next | ( | ) | [inline] |
Definition at line 70 of file collection.h.
| int Collection< Element >::number | ( | ) | [inline] |
Definition at line 37 of file collection.h.
Referenced by Gui::display(), Domain::Domain(), Gui::initdisp(), Collection< Element >::insert(), Domain::load(), Domain::run(), and Domain::save().
| Element* Collection< Element >::Prev | ( | int | i | ) | [inline] |
Definition at line 75 of file collection.h.
| Element* Collection< Element >::Prev | ( | ) | [inline] |
Definition at line 74 of file collection.h.
| bool Collection< Element >::remove | ( | int | icounter | ) | [inline] |
Definition at line 393 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::locked, maxcounters, Collection< Element >::remove0(), and WAIT.
| bool Collection< Element >::remove | ( | ) | [inline] |
Definition at line 379 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::locked, maxcounters, Collection< Element >::remove0(), and WAIT.
| bool Collection< Element >::remove0 | ( | ) | [inline] |
Definition at line 344 of file collection.h.
References Collection< Element >::current, Collection< Element >::current1, Collection< Element >::dead, Collection< Element >::first, Collection< Element >::last, maxcounters, Item< Element >::next, and Collection< Element >::nitems.
Referenced by Collection< Element >::remove(), and Domain::run().
| void Collection< Element >::setFirst | ( | ) | [inline] |
Definition at line 39 of file collection.h.
| void Collection< Element >::setFirstLast | ( | ) | [inline] |
Definition at line 40 of file collection.h.
struct Item< Element > * Collection< Element >::current [read, private] |
Definition at line 28 of file collection.h.
Referenced by Collection< Element >::append(), Collection< Element >::append0(), Collection< Element >::Collection(), Collection< Molecule >::Current(), Collection< Molecule >::getItem(), Collection< Molecule >::getNext(), Collection< Molecule >::getPrev(), Collection< Molecule >::go(), Collection< Molecule >::goFirst(), Collection< Molecule >::goFirstNext(), Collection< Molecule >::goLast(), Collection< Molecule >::goLastNext(), Collection< Molecule >::goNext(), Collection< Molecule >::goPrev(), Collection< Element >::init(), Collection< Element >::insert(), Collection< Element >::insert0(), Collection< Element >::insertAfter(), Collection< Molecule >::isFirst(), Collection< Molecule >::isLast(), Collection< Molecule >::Next(), Collection< Molecule >::Prev(), Collection< Element >::remove(), Collection< Element >::remove0(), and Collection< Element >::~Collection().
struct Item< Element > * Collection< Element >::current1[maxcounters] [read, private] |
Definition at line 28 of file collection.h.
Referenced by Collection< Element >::append(), Collection< Element >::append0(), Collection< Element >::Collection(), Collection< Molecule >::Current(), Collection< Molecule >::getItem(), Collection< Molecule >::getNext(), Collection< Molecule >::getPrev(), Collection< Molecule >::goFirst(), Collection< Molecule >::goFirstNext(), Collection< Molecule >::goLast(), Collection< Molecule >::goLastNext(), Collection< Molecule >::goNext(), Collection< Molecule >::goPrev(), Collection< Element >::init(), Collection< Element >::insert(), Collection< Element >::insert0(), Collection< Element >::insertAfter(), Collection< Molecule >::isFirst(), Collection< Molecule >::isLast(), Collection< Molecule >::Next(), Collection< Molecule >::Prev(), Collection< Element >::remove(), Collection< Element >::remove0(), and Collection< Element >::~Collection().
struct Item< Element > * Collection< Element >::dead [read, private] |
Definition at line 28 of file collection.h.
Referenced by Collection< Element >::append0(), Collection< Element >::Collection(), Collection< Element >::init(), Collection< Element >::insert0(), Collection< Element >::insertAfter(), Collection< Element >::remove0(), and Collection< Element >::~Collection().
struct Item< Element > * Collection< Element >::first [read, private] |
Definition at line 28 of file collection.h.
Referenced by Collection< Element >::append0(), Collection< Element >::Collection(), Collection< Molecule >::First(), Collection< Molecule >::FirstNext(), Collection< Molecule >::FirstPrev(), Collection< Molecule >::getFirstItem(), Collection< Molecule >::goFirst(), Collection< Molecule >::goFirstNext(), Collection< Element >::init(), Collection< Element >::insert0(), Collection< Element >::insertAfter(), Collection< Molecule >::isFirst(), Collection< Molecule >::isFirstLast(), Collection< Element >::remove0(), Collection< Molecule >::setFirst(), Collection< Molecule >::setFirstLast(), and Collection< Element >::~Collection().
struct Item< Element >* Collection< Element >::items [read, private] |
Definition at line 28 of file collection.h.
struct Item< Element > * Collection< Element >::last [read, private] |
Definition at line 28 of file collection.h.
Referenced by Collection< Element >::append0(), Collection< Element >::Collection(), Collection< Molecule >::getLastItem(), Collection< Molecule >::goLast(), Collection< Molecule >::goLastNext(), Collection< Element >::init(), Collection< Element >::insert0(), Collection< Element >::insertAfter(), Collection< Molecule >::isFirstLast(), Collection< Molecule >::isLast(), Collection< Molecule >::Last(), Collection< Molecule >::LastNext(), Collection< Molecule >::LastPrev(), Collection< Element >::remove0(), Collection< Molecule >::setFirst(), Collection< Molecule >::setFirstLast(), and Collection< Element >::~Collection().
bool Collection< Element >::locked [private] |
Definition at line 27 of file collection.h.
Referenced by Collection< Element >::append(), Collection< Element >::Collection(), Collection< Element >::insert(), and Collection< Element >::remove().
int Collection< Element >::mitems [private] |
Definition at line 26 of file collection.h.
Referenced by Collection< Element >::Collection(), Collection< Element >::init(), Collection< Molecule >::maxnumber(), and Collection< Element >::~Collection().
int Collection< Element >::nitems [private] |
Definition at line 26 of file collection.h.
Referenced by Collection< Element >::append0(), Collection< Element >::Collection(), Collection< Element >::init(), Collection< Element >::insert0(), Collection< Element >::insertAfter(), Collection< Molecule >::number(), Collection< Element >::remove0(), and Collection< Element >::~Collection().
1.5.7.1