![]() |
VR-Forces Developer's Guide
|
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 | ( | ) |
| DtSimpleList::~DtSimpleList | ( | ) |
| DtSimpleList::DtSimpleList | ( | const DtSimpleList & | orig | ) |
|
inline |
References myFirst.
|
inline |
References myLast.
|
inline |
References addAfter(), and myLast.
|
inline |
References addAfter().
|
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 | ) |
|
protected |
|
protected |
|
protected |
Referenced by first().
|
protected |
Referenced by add(), addToEnd(), and last().