SALOME - SMESH
|
Abstract class for iterators. More...
#include <SMDS_Iterator.hxx>
Public Member Functions | |
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... | |
Abstract class for iterators.
Definition at line 33 of file SMDS_Iterator.hxx.
|
virtual |
Provide virtual destructor just for case if some derived iterator must have a destructor.
Definition at line 47 of file SMDS_Iterator.hxx.
|
pure virtual |
Return true if and only if there are other object in this iterator.
Implemented in SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >, SMDS_SetIterator< M::mapped_type, M::const_reverse_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > >, SMDS_SetIterator< M::key_type, M::const_iterator, SMDS::KeyAccessor< M::key_type, M::const_iterator > >, SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >, and SMDS_IteratorOfElements.
|
pure virtual |
Return the current object and step to the next one.
Implemented in SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >, SMDS_SetIterator< M::mapped_type, M::const_reverse_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > >, SMDS_SetIterator< M::key_type, M::const_iterator, SMDS::KeyAccessor< M::key_type, M::const_iterator > >, SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >, and SMDS_IteratorOfElements.
|
virtual |
Delete the current element and step to the next one.
Definition at line 43 of file SMDS_Iterator.hxx.