Abstract class for iterators. More...
#include <SMDS_Iterator.hxx>

Public Types | |
| typedef VALUE | value_type |
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.
| typedef VALUE SMDS_Iterator< VALUE >::value_type |
|
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 ObjectPoolIterator< X >, SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, 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_ITERATOR, GET_VTK_NODES >, SMDS_VtkCellIterator< SMDS_ElemIterator, _GetVtkNodesPolyh >, SMDS_VtkCellIterator< SMDS_ElemIterator, _GetVtkNodesToUNV >, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, and SMESHDS_TSubMeshHolder< SUBMESH >::Iterator.
|
pure virtual |
Return the current object and step to the next one.
Implemented in ObjectPoolIterator< X >, SMDS_IteratorOnIterators< VALUE, CONTAINER_OF_ITERATORS >, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, 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_ITERATOR, GET_VTK_NODES >, SMDS_VtkCellIterator< SMDS_ElemIterator, _GetVtkNodesPolyh >, SMDS_VtkCellIterator< SMDS_ElemIterator, _GetVtkNodesToUNV >, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, MyIterator< VALUE >, MyIterator< const SMDS_MeshElement * >, MyIterator< const SMDS_MeshNode * >, and SMESHDS_TSubMeshHolder< SUBMESH >::Iterator.
|
virtual |
Delete the current element and step to the next one.