VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtSimpleList Class Reference

List of all members.

Public Member Functions

 DtSimpleList ()
 ~DtSimpleList ()
DtSimpleListItemfirst () const
DtSimpleListItemlast () const
unsigned int count () const
DtSimpleListItemadd (void *data)
DtSimpleListItemaddToStart (void *data)
DtSimpleListItemaddToEnd (void *data)
DtSimpleListItemaddAfter (void *data, DtSimpleListItem *after)
void * remove (DtSimpleListItem *item)
void removeAll ()
DtSimpleListItemitemLookup (void *data) const
void sort (int(*compare)(const void *e1, const void *e2))
 DtSimpleList (const DtSimpleList &orig)
DtSimpleListoperator= (const DtSimpleList &orig)

Protected Member Functions

void addToList (DtSimpleListItem *item, DtSimpleListItem *after)
void removeFromList (DtSimpleListItem *item)

Protected Attributes

DtSimpleListItemmyFirst
DtSimpleListItemmyLast
unsigned int myCount

Constructor & Destructor Documentation


Member Function Documentation

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().

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]

Member Data Documentation

Referenced by first().

Referenced by add(), addToEnd(), and last().

unsigned int DtSimpleList::myCount [protected]

Referenced by count().


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)