![]() |
VR-Forces 4.7 Class Documentation
|
Iterator for iterating over a DtList of process state repositories. More...

Public Member Functions | |
| DtVrfProcessStateRepositoryIterator (const DtList &list) | |
| Constructor. | |
| DtVrfProcessStateRepositoryIterator (const DtVrfProcessStateRepositoryIterator &orig) | |
| Copy Constructor. | |
| virtual | ~DtVrfProcessStateRepositoryIterator () |
| Destructor. | |
| DtVrfProcessStateRepository * | first (bool reset=true) |
| Calls reset() if reset arg is true (useful for for() loops). | |
| DtVrfProcessStateRepository * | last (bool reset=true) |
| Calls reset() if reset arg is true with reverse argument as true (useful for iterating in reverse). | |
Public Member Functions inherited from DtIteratorBase< DtVrfProcessStateRepository > | |
| 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 DtVrfProcessStateRepository * | internalFirst (bool move=true) |
| Returns the first vertex in the list if going DtIteratorForward, and the last vertex if going DtIteratorReverse. | |
| DtVrfProcessStateRepository * | operator-> () |
| DtVrfProcessStateRepository * | operator* () |
| virtual DtVrfProcessStateRepository * | internalCurrent () const |
| Returns the current vertex. The cursor is not moved. | |
| virtual DtListItem * | cursor () const |
| Returns the current cursor. Use with caution. | |
| virtual DtVrfProcessStateRepository * | itemToObject (DtListItem *item, bool move) |
| virtual DtVrfProcessStateRepository * | internalNext (bool move=true) |
| virtual DtVrfProcessStateRepository * | internalLast (bool move=true) |
| Returns the last vertex in the list if going DtIteratorForward, and the first vertex if going DtIteratorReverse. | |
| virtual DtVrfProcessStateRepository * | internalWrapNext (bool move=true) |
| If the cursor is 0, returns 0 (move is ignored in this case). | |
| virtual DtVrfProcessStateRepository * | internalPrev (bool move=true) |
| If the cursor is 0, returns 0 (move is ignored in this case). | |
| virtual DtVrfProcessStateRepository * | internalWrapPrev (bool move=true) |
| virtual DtVrfProcessStateRepository * | current () |
| virtual DtVrfProcessStateRepository * | next (bool move=true) |
| virtual DtVrfProcessStateRepository * | prev (bool move=true) |
| virtual DtVrfProcessStateRepository * | wrapNext (bool move=true) |
| virtual DtVrfProcessStateRepository * | wrapPrev (bool move=true) |
| DtVrfProcessStateRepository * | operator++ () |
| DtVrfProcessStateRepository * | operator-- () |
Private Member Functions | |
| DtVrfProcessStateRepositoryIterator () | |
| Default Constructor. Do not use. | |
| const DtVrfProcessStateRepositoryIterator & | operator= (const DtVrfProcessStateRepositoryIterator &orig) |
| Assignment Operator. | |
Additional Inherited Members | |
Protected Attributes inherited from DtIteratorBase< DtVrfProcessStateRepository > | |
| const DtList & | myList |
| DtListItem * | myCursor |
| DtIteratorDirection | myDirection |
Iterator for iterating over a DtList of process state repositories.
Used by DtVrfProcessStateManager.
|
private |
Default Constructor. Do not use.
|
inline |
Constructor.
|
inline |
Copy Constructor.
|
inlinevirtual |
Destructor.
|
private |
Assignment Operator.
|
inlinevirtual |
Calls reset() if reset arg is true (useful for for() loops).
Returns the first object on the list
Reimplemented from DtIteratorBase< DtVrfProcessStateRepository >.
|
inlinevirtual |
Calls reset() if reset arg is true with reverse argument as true (useful for iterating in reverse).
Returns the last object on the list.
Reimplemented from DtIteratorBase< DtVrfProcessStateRepository >.