SMDS_Iterator iterating over all elements provided by other iterators. More...
#include <SMDS_IteratorOnIterators.hxx>
Public Member Functions | |
virtual bool | more () |
Return true iff there are other object in this iterator. More... | |
virtual VALUE | next () |
Return the current object and step to the next one. More... | |
SMDS_IteratorOnIterators (const CONTAINER_OF_ITERATORS &iterators) | |
Public Member Functions inherited from SMDS_Iterator< VALUE > | |
virtual bool | more ()=0 |
Return true if and only if there are other object in this iterator. More... | |
virtual VALUE | 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... | |
SMDS_Iterator iterating over all elements provided by other iterators.
Other iterators must implement SMDS_Iterator iterface and must be provided within a stl-like container BE CAREFUL: iterator pointed value is static_cast'ed to VALUE
SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >::SMDS_IteratorOnIterators | ( | const CONTAINER_OF_ITERATORS & | iterators | ) |
|
virtual |
Return true iff there are other object in this iterator.
Implements SMDS_Iterator< VALUE >.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.