SMDS_Iterator iterating over abstract set of values like STL containers. More...
#include <SMDS_SetIterator.hxx>
Public Member Functions | |
SMDS_SetIterator (const VALUE_SET_ITERATOR &begin, const VALUE_SET_ITERATOR &end, const VALUE_FILTER &filter=VALUE_FILTER()) | |
virtual void | init (const VALUE_SET_ITERATOR &begin, const VALUE_SET_ITERATOR &end, const VALUE_FILTER &filter=VALUE_FILTER()) |
Initialization. More... | |
virtual bool | more () |
Return true iff there are other object in this iterator. More... | |
virtual VALUE | next () |
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... | |
Protected Attributes | |
VALUE_SET_ITERATOR | _beg |
VALUE_SET_ITERATOR | _end |
VALUE_FILTER | _filter |
SMDS_Iterator iterating over abstract set of values like STL containers.
BE CAREFUL: iterator pointed value is static_cast'ed to VALUE
SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::SMDS_SetIterator | ( | const VALUE_SET_ITERATOR & | begin, |
const VALUE_SET_ITERATOR & | end, | ||
const VALUE_FILTER & | filter = VALUE_FILTER() |
||
) |
|
virtual |
|
virtual |
Return true iff there are other object in this iterator.
Implements SMDS_Iterator< VALUE >.
Referenced by _QuadFaceGrid::AddContinuousFace(), SMESH::TShapeDisplayer::DeleteActors(), StdMeshers_CompositeHexa_3D::Evaluate(), StdMeshers_CompositeHexa_3D::findBoxFaces(), SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::init(), SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::next(), SMESH::TShapeDisplayer::SetVisibility(), and SMESH::TShapeDisplayer::Show().
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< VALUE >.
Referenced by SMESH::TShapeDisplayer::DeleteActors(), StdMeshers_CompositeHexa_3D::findBoxFaces(), SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::init(), SMESH::TShapeDisplayer::SetVisibility(), and SMESH::TShapeDisplayer::Show().
|
virtualinherited |
Delete the current element and step to the next one.
|
protected |
Referenced by SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::init(), SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::more(), and SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::next().
|
protected |
|
protected |