Template class used for iteration on vector of elements which can resize during iteration. More...

Public Member Functions | |
| MySetIterator (const TSET &table, bool reverse) | |
| virtual bool | more () |
| Return true if and only if there are other object in this iterator. More... | |
| virtual ELEM | next () |
| Return the current object and step to the next one. More... | |
| virtual void | remove () |
| Delete the current element and step to the next one. More... | |
Protected Attributes | |
| int | _iCur |
| int | _iEnd |
| int | _iDelta |
| const TSET & | _table |
Template class used for iteration on vector of elements which can resize during iteration.
The iterator returns only elements present upon its creation.
| MySetIterator< ELEM, TSET >::MySetIterator | ( | const TSET & | table, |
| bool | reverse | ||
| ) |
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< ELEM >.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< ELEM >.
|
virtualinherited |
Delete the current element and step to the next one.
|
protected |
|
protected |
|
protected |
|
protected |