Public Member Functions | |
virtual bool | more () |
Return true if and only if there are other object in this iterator. More... | |
MySetIterator (const TSET &table) | |
virtual ELEM | next () |
Return the current object and step to the next one. More... | |
Public Member Functions inherited from SMDS_Iterator< ELEM > | |
virtual bool | more ()=0 |
Return true if and only if there are other object in this iterator. More... | |
virtual ELEM | next ()=0 |
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... | |
virtual | ~SMDS_Iterator () |
Provide virtual destructor just for case if some derived iterator must have a destructor. More... | |
template class used for iteration on submesh elements. Interface of iterator remains unchanged after redesign of SMDS to avoid modification everywhere in SMESH. instances are stored in shared_ptr for automatic destruction. Container is copied for iteration, because original can be modified by addition of elements, for instance, and then reallocated (vector)
MySetIterator< ELEM, TSET >::MySetIterator | ( | const TSET & | table | ) |
|
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 >.