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 _MySubIterator, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MySetIterator< ELEM, TSET >, _MyEdgeIterator, _MySubIterator, _MySubIterator, SMDS_MeshNode_MyInvIterator, _MyEdgeIterator, MyGroupIterator, SMDS_MeshElement_MyIterator, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >, 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 > >, _MyEdgeIterator, SMDS_Mesh0DElement_MyNodeIterator, SMDS_FaceOfEdges_MyIterator, SMDS_LinearEdge_MyNodeIterator, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, SMDS_VtkCellIteratorPolyH, SMDS_VolumeOfFaces_MyIterator, SMDS_VtkCellIteratorToUNV, SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >, SMDS_IteratorOfElements, and SMDS_VtkCellIterator.
|
pure virtual |
Return the current object and step to the next one.
Implemented in _MySubIterator, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MySetIterator< ELEM, TSET >, _MyEdgeIterator, _MySubIterator, _MySubIterator, SMDS_MeshNode_MyInvIterator, _MyEdgeIterator, MyGroupIterator, SMDS_MeshElement_MyIterator, SMESHDS_TSubMeshHolder< SUBMESH >::Iterator, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >, 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 > >, _MyEdgeIterator, SMDS_Mesh0DElement_MyNodeIterator, SMDS_FaceOfEdges_MyIterator, SMDS_LinearEdge_MyNodeIterator, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, SMDS_VolumeOfFaces_MyIterator, SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >, SMDS_VtkCellIteratorToUNV, SMDS_IteratorOfElements, and SMDS_VtkCellIterator.
|
virtual |
Delete the current element and step to the next one.