![]() |
VR-Forces 4.5 Class Documentation
|
File: keyedObjIter.h. More...

Public Member Functions | |
| DtBaseSimObjectIterator (const DtList &list, DtSimManager *simObjectManager) | |
| Constructor. | |
| DtBaseSimObjectIterator (const DtBaseSimObjectIterator &orig) | |
| Copy Contructor. | |
| virtual | ~DtBaseSimObjectIterator () |
| Destructor. | |
| T * | first (bool move=true) |
| T * | next (bool move=true) |
| T * | prev (bool move=true) |
| T * | last (bool move=true) |
| T * | wrapNext (bool move=true) |
| T * | wrapPrev (bool move=true) |
Public Member Functions inherited from DtIteratorBase< T > | |
| DtIteratorBase (const DtList &list) | |
| Constructor. Supply the DtList to be iterated over. | |
| DtIteratorBase (const DtIteratorBase &orig) | |
| Copy constructor. | |
| virtual | ~DtIteratorBase () |
| virtual unsigned int | size () const |
| virtual bool | empty () const |
| virtual const DtList & | list () |
| virtual bool | reset (bool reverse=false) |
| Sets the cursor and the direction of this iterator over the list. | |
| virtual bool | reset (DtIteratorLocation location, DtIteratorDirection direction=DtIteratorForward) |
| Sets the cursor and the direction of this iterator over the list. | |
| virtual void | reverse () |
| Reverses the direction if this iterator. The cursor is not moved. | |
| virtual void | setDirection (DtIteratorDirection direction) |
| Sets the direction of this iterator. The cursor is not moved. | |
| virtual DtIteratorDirection | direction () |
| Returns the current direction of the iterator. | |
| virtual int | cursorIndex () const |
| Returns current cursor index in list. | |
| virtual void | setCursorIndex (int i) |
| virtual T * | internalFirst (bool move=true) |
| Returns the first vertex in the list if going DtIteratorForward, and the last vertex if going DtIteratorReverse. | |
| T * | operator-> () |
| T * | operator* () |
| virtual T * | internalCurrent () const |
| Returns the current vertex. The cursor is not moved. | |
| virtual DtListItem * | cursor () const |
| Returns the current cursor. Use with caution. | |
| virtual T * | itemToObject (DtListItem *item, bool move) |
| virtual T * | internalNext (bool move=true) |
| virtual T * | internalLast (bool move=true) |
| Returns the last vertex in the list if going DtIteratorForward, and the first vertex if going DtIteratorReverse. | |
| virtual T * | internalWrapNext (bool move=true) |
| If the cursor is 0, returns 0 (move is ignored in this case). | |
| virtual T * | internalPrev (bool move=true) |
| If the cursor is 0, returns 0 (move is ignored in this case). | |
| virtual T * | internalWrapPrev (bool move=true) |
| virtual T * | current () |
| T * | operator++ () |
| T * | operator-- () |
Protected Member Functions | |
| T * | dataToObject (void *data) const |
Protected Attributes | |
| DtSimManager * | mySimObjectManager |
Protected Attributes inherited from DtIteratorBase< T > | |
| const DtList & | myList |
| DtListItem * | myCursor |
| DtIteratorDirection | myDirection |
Private Member Functions | |
| DtBaseSimObjectIterator () | |
| const DtBaseSimObjectIterator & | operator= (const DtBaseSimObjectIterator &orig) |
File: keyedObjIter.h.
Class: DtKeyedVrfObjectIterator
Description:
|
private |
|
inline |
Constructor.
Supply the DtList to be iterated over. Also, since this is actually iterating over a set of keys, it needs a pointer to the DtVrfObjectManager to look up the actual DtSimObjects to return
|
inline |
Copy Contructor.
|
inlinevirtual |
Destructor.
|
private |
|
inlinevirtual |
Reimplemented from DtIteratorBase< T >.
|
inlinevirtual |
Reimplemented from DtIteratorBase< T >.
|
inlinevirtual |
Reimplemented from DtIteratorBase< T >.
|
inlinevirtual |
Reimplemented from DtIteratorBase< T >.
|
inlinevirtual |
Reimplemented from DtIteratorBase< T >.
|
inlinevirtual |
Reimplemented from DtIteratorBase< T >.
|
inlineprotected |
Referenced by DtBaseSimObjectIterator< DtVrfObject >::first(), DtBaseSimObjectIterator< DtVrfObject >::last(), DtBaseSimObjectIterator< DtVrfObject >::next(), DtBaseSimObjectIterator< DtVrfObject >::prev(), DtBaseSimObjectIterator< DtVrfObject >::wrapNext(), and DtBaseSimObjectIterator< DtVrfObject >::wrapPrev().
|
protected |
Referenced by DtBaseSimObjectIterator< DtVrfObject >::dataToObject().