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) |
| Initialization. | |
| virtual bool | more () |
| Return true if and only if there are other object in this iterator. | |
| virtual M::mapped_type | next () |
| Return the current object and step to the next one. | |
| virtual void | remove () |
| Delete the current element and step to the next one. | |
Protected Attributes | |
| M::const_iterator | _beg |
| M::const_iterator | _end |
map iterators
iterator on values of a map
Definition at line 95 of file SMDS_SetIterator.hxx.
| 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 |
Definition at line 100 of file SMDS_SetIterator.hxx.
| SMDS_mapIterator< M >.SMDS_mapIterator | ( | const M & | m | ) |
Definition at line 101 of file SMDS_SetIterator.hxx.
:parent_type(m.begin(),m.end()) {}
| virtual void SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >.init | ( | const M::const_iterator & | begin, |
| const M::const_iterator & | end | ||
| ) | [virtual, inherited] |
Initialization.
Definition at line 75 of file SMDS_SetIterator.hxx.
References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >._beg, and SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >._end.
| virtual bool SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >.more | ( | ) | [virtual, inherited] |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< M.mapped_type >.
Definition at line 80 of file SMDS_SetIterator.hxx.
References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >._beg, and SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >._end.
| virtual M::mapped_type SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >.next | ( | ) | [virtual, inherited] |
Return the current object and step to the next one.
Implements SMDS_Iterator< M.mapped_type >.
Definition at line 83 of file SMDS_SetIterator.hxx.
References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >._beg.
{ return ACCESOR::value( _beg++ ); }
| virtual void SMDS_Iterator< M::mapped_type >.remove | ( | ) | [virtual, inherited] |
Delete the current element and step to the next one.
Definition at line 44 of file SMDS_Iterator.hxx.
{}
M::const_iterator SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >._beg [protected, inherited] |
Definition at line 68 of file SMDS_SetIterator.hxx.
M::const_iterator SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >._end [protected, inherited] |
Definition at line 68 of file SMDS_SetIterator.hxx.