map iterators More...
#include <SMDS_SetIterator.hxx>
Public Types | |
typedef SMDS_SetIterator < typename M::mapped_type, typename M::const_iterator, SMDS::ValueAccessor< typename M::mapped_type, typename M::const_iterator > > | parent_type |
Public Member Functions | |
SMDS_mapIterator (const M &m) | |
virtual void | init (const M::const_iterator &begin, const M::const_iterator &end, const SMDS::PassAllValueFilter< M::mapped_type > &filter=SMDS::PassAllValueFilter< M::mapped_type >()) |
Initialization. More... | |
virtual bool | more () |
Return true iff there are other object in this iterator. More... | |
virtual M::mapped_type | 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 | |
M::const_iterator | _beg |
M::const_iterator | _end |
SMDS::PassAllValueFilter < M::mapped_type > | _filter |
map iterators
iterator on values of a map
typedef SMDS_SetIterator< typename M::mapped_type, typename M::const_iterator, SMDS::ValueAccessor<typename M::mapped_type, typename M::const_iterator> > SMDS_mapIterator< M >::parent_type |
SMDS_mapIterator< M >::SMDS_mapIterator | ( | const M & | m | ) |
|
virtualinherited |
Initialization.
References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::_beg, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::_end, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::_filter, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::more(), and SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::next().
|
virtualinherited |
Return true iff there are other object in this iterator.
Implements SMDS_Iterator< M::mapped_type >.
References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::_beg, and SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::_end.
|
virtualinherited |
Return the current object and step to the next one.
Implements SMDS_Iterator< M::mapped_type >.
References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::_beg, SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::_filter, and SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR, VALUE_FILTER >::more().
|
virtualinherited |
Delete the current element and step to the next one.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |