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.
|
virtual |
Provide virtual destructor just for case if some derived iterator must have a destructor.
|
pure virtual |
Return true if and only if there are other object in this iterator.
Implemented in SMDS_IteratorOfElements, SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESSOR, VALUE_FILTER >, SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >, SMDS_SetIterator< M::key_type, M::const_iterator, SMDS::KeyAccessor< M::key_type, M::const_iterator > >, SMDS_SetIterator< M::mapped_type, M::const_reverse_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > >, SMDS_VtkCellIterator, SMDS_VtkCellIteratorToUNV, SMDS_VtkCellIteratorPolyH, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator, SMDS_FaceOfEdges_MyIterator, SMDS_LinearEdge_MyNodeIterator, SMDS_Mesh0DElement_MyNodeIterator, SMDS_MeshElement_MyIterator, SMDS_MeshNode_MyInvIterator, SMDS_MeshNode_MyIterator, SMDS_VolumeOfFaces_MyIterator, MyGroupIterator, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MySetIterator< ELEM, TSET >, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, and MyIterator< const SMDS_MeshNode * >.
|
pure virtual |
Return the current object and step to the next one.
Implemented in SMDS_IteratorOfElements, SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESSOR, VALUE_FILTER >, SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >, SMDS_SetIterator< M::key_type, M::const_iterator, SMDS::KeyAccessor< M::key_type, M::const_iterator > >, SMDS_SetIterator< M::mapped_type, M::const_reverse_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > >, SMDS_VtkCellIterator, SMDS_VtkCellIteratorToUNV, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator, SMDS_FaceOfEdges_MyIterator, SMDS_LinearEdge_MyNodeIterator, SMDS_Mesh0DElement_MyNodeIterator, SMDS_MeshElement_MyIterator, SMDS_MeshNode_MyInvIterator, SMDS_MeshNode_MyIterator, SMDS_VolumeOfFaces_MyIterator, MyGroupIterator, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MySetIterator< ELEM, TSET >, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, and MyIterator< const SMDS_MeshNode * >.
|
virtual |
Delete the current element and step to the next one.