SMDS_Iterator iterating over all elements provided by other iterators. More...
#include <SMDS_IteratorOnIterators.hxx>
Public Member Functions | |
SMDS_IteratorOnIterators (const CONTAINER_OF_ITERATORS &iterators) | |
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... | |
virtual void | remove () |
Delete the current element and step to the next one. More... | |
Protected Attributes | |
CONTAINER_OF_ITERATORS | _iterators |
CONTAINER_OF_ITERATORS::iterator | _beg |
CONTAINER_OF_ITERATORS::iterator | _end |
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 >.
References SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >::_beg, and SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >::_end.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.
References SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >::_beg, and SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >::_end.
|
virtualinherited |
Delete the current element and step to the next one.
|
protected |
|
protected |
|
protected |