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... | |
Detailed Description
template<typename VALUE>
class SMDS_Iterator< VALUE >
Abstract class for iterators.
Constructor & Destructor Documentation
◆ ~SMDS_Iterator()
|
virtual |
Provide virtual destructor just for case if some derived iterator must have a destructor.
Member Function Documentation
◆ more()
|
pure virtual |
Return true if and only if there are other object in this iterator.
Implemented in MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MySetIterator< ELEM, TSET >, SMDS_MeshNode_MyIterator, SMDS_MeshNode_MyInvIterator, 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 > >, 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.
◆ next()
|
pure virtual |
Return the current object and step to the next one.
Implemented in MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MySetIterator< ELEM, TSET >, SMDS_MeshNode_MyIterator, SMDS_MeshNode_MyInvIterator, 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 > >, SMDS_Mesh0DElement_MyNodeIterator, SMDS_FaceOfEdges_MyIterator, SMDS_LinearEdge_MyNodeIterator, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, SMDS_VolumeOfFaces_MyIterator, SMDS_VtkCellIteratorToUNV, SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >, SMDS_IteratorOfElements, and SMDS_VtkCellIterator.
◆ remove()
|
virtual |
Delete the current element and step to the next one.
The documentation for this class was generated from the following file:
- src/3rdParty/salomesmesh/inc/SMDS_Iterator.hxx