![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtSimpleList () | |
| ~DtSimpleList () | |
| DtSimpleListItem * | first () const |
| DtSimpleListItem * | last () const |
| unsigned int | count () const |
| DtSimpleListItem * | add (void *data) |
| DtSimpleListItem * | addToStart (void *data) |
| DtSimpleListItem * | addToEnd (void *data) |
| DtSimpleListItem * | addAfter (void *data, DtSimpleListItem *after) |
| void * | remove (DtSimpleListItem *item) |
| void | removeAll () |
| DtSimpleListItem * | itemLookup (void *data) const |
| void | sort (int(*compare)(const void *e1, const void *e2)) |
| DtSimpleList (const DtSimpleList &orig) | |
| DtSimpleList & | operator= (const DtSimpleList &orig) |
Protected Member Functions | |
| void | addToList (DtSimpleListItem *item, DtSimpleListItem *after) |
| void | removeFromList (DtSimpleListItem *item) |
Protected Attributes | |
| DtSimpleListItem * | myFirst |
| DtSimpleListItem * | myLast |
| unsigned int | myCount |
| DtSimpleList::DtSimpleList | ( | const DtSimpleList & | orig | ) |
| DtSimpleListItem * DtSimpleList::first | ( | ) | const [inline] |
References myFirst.
| DtSimpleListItem * DtSimpleList::last | ( | ) | const [inline] |
References myLast.
| unsigned int DtSimpleList::count | ( | ) | const [inline] |
References myCount.
| DtSimpleListItem * DtSimpleList::add | ( | void * | data | ) | [inline] |
References addAfter(), and myLast.
| DtSimpleListItem * DtSimpleList::addToStart | ( | void * | data | ) | [inline] |
References addAfter().
| DtSimpleListItem * DtSimpleList::addToEnd | ( | void * | data | ) | [inline] |
References addAfter(), and myLast.
| DtSimpleListItem* DtSimpleList::addAfter | ( | void * | data, |
| DtSimpleListItem * | after | ||
| ) |
Referenced by add(), addToEnd(), and addToStart().
| void* DtSimpleList::remove | ( | DtSimpleListItem * | item | ) |
| void DtSimpleList::removeAll | ( | ) |
| DtSimpleListItem* DtSimpleList::itemLookup | ( | void * | data | ) | const |
| void DtSimpleList::sort | ( | int(*)(const void *e1, const void *e2) | compare | ) |
| DtSimpleList& DtSimpleList::operator= | ( | const DtSimpleList & | orig | ) |
| void DtSimpleList::addToList | ( | DtSimpleListItem * | item, |
| DtSimpleListItem * | after | ||
| ) | [protected] |
| void DtSimpleList::removeFromList | ( | DtSimpleListItem * | item | ) | [protected] |
DtSimpleListItem* DtSimpleList::myFirst [protected] |
Referenced by first().
DtSimpleListItem* DtSimpleList::myLast [protected] |
Referenced by add(), addToEnd(), and last().
unsigned int DtSimpleList::myCount [protected] |
Referenced by count().