reverse iterator on keys of a map More...
#include <SMDS_SetIterator.hxx>

Public Types | |
| typedef SMDS_SetIterator < typename M::key_type, typename M::const_iterator, SMDS::KeyAccessor< typename M::key_type, typename M::const_iterator > > | parent_type |
Public Member Functions | |
| SMDS_mapKeyReverseIterator (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::key_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 |
reverse iterator on keys of a map
Definition at line 132 of file SMDS_SetIterator.hxx.
| typedef SMDS_SetIterator< typename M::key_type, typename M::const_iterator, SMDS::KeyAccessor<typename M::key_type, typename M::const_iterator> > SMDS_mapKeyReverseIterator< M >.parent_type |
Definition at line 137 of file SMDS_SetIterator.hxx.
| SMDS_mapKeyReverseIterator< M >.SMDS_mapKeyReverseIterator | ( | const M & | m | ) |
Definition at line 138 of file SMDS_SetIterator.hxx.
:parent_type(m.rbegin(),m.rend()) {}
| virtual void SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >.init | ( | const M::const_iterator & | begin, |
| const M::const_iterator & | end | ||
| ) | [virtual, inherited] |
| virtual bool SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >.more | ( | ) | [virtual, inherited] |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< M.key_type >.
Definition at line 80 of file SMDS_SetIterator.hxx.
| virtual M::key_type SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >.next | ( | ) | [virtual, inherited] |
Return the current object and step to the next one.
Implements SMDS_Iterator< M.key_type >.
Definition at line 83 of file SMDS_SetIterator.hxx.
{ return ACCESOR::value( _beg++ ); }
| virtual void SMDS_Iterator< M::key_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::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >._beg [protected, inherited] |
Definition at line 68 of file SMDS_SetIterator.hxx.
M::const_iterator SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >._end [protected, inherited] |
Definition at line 68 of file SMDS_SetIterator.hxx.