Version: 9.12.0
SMDS_mapKeyReverseIterator< M > Struct Template Reference

reverse iterator on keys of a map More...

#include <SMDS_SetIterator.hxx>

Inheritance diagram for SMDS_mapKeyReverseIterator< M >:

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
 
typedef VALUE value_type
 

Public Member Functions

 SMDS_mapKeyReverseIterator (const M &m)
 
virtual void init (const M::const_iterator &begin, const M::const_iterator &end, const SMDS::PassAllValueFilter< M::key_type > &filter=SMDS::PassAllValueFilter< M::key_type >())
 Initialization. More...
 
virtual bool more ()
 Return true iff there are other object in this iterator. More...
 
virtual M::key_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::key_type > _filter
 

Detailed Description

template<typename M>
struct SMDS_mapKeyReverseIterator< M >

reverse iterator on keys of a map

Member Typedef Documentation

◆ parent_type

template<typename M >
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

◆ value_type

template<typename VALUE >
typedef VALUE SMDS_Iterator< VALUE >::value_type
inherited

Constructor & Destructor Documentation

◆ SMDS_mapKeyReverseIterator()

template<typename M >
SMDS_mapKeyReverseIterator< M >::SMDS_mapKeyReverseIterator ( const M &  m)

Member Function Documentation

◆ init()

virtual void SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > , SMDS::PassAllValueFilter<M::key_type > >::init ( const VALUE_SET_ITERATOR &  begin,
const VALUE_SET_ITERATOR &  end,
const VALUE_FILTER &  filter = VALUE_FILTER() 
)
virtualinherited

Initialization.

◆ more()

virtual bool SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > , SMDS::PassAllValueFilter<M::key_type > >::more ( )
virtualinherited

Return true iff there are other object in this iterator.

Implements SMDS_Iterator< VALUE >.

◆ next()

virtual M::key_type SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > , SMDS::PassAllValueFilter<M::key_type > >::next ( )
virtualinherited

Return the current object and step to the next one.

Implements SMDS_Iterator< VALUE >.

◆ remove()

template<typename VALUE >
virtual void SMDS_Iterator< VALUE >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation

◆ _beg

M::const_iterator SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > , SMDS::PassAllValueFilter<M::key_type > >::_beg
protectedinherited

◆ _end

M::const_iterator SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > , SMDS::PassAllValueFilter<M::key_type > >::_end
protectedinherited

◆ _filter

SMDS::PassAllValueFilter<M::key_type > SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > , SMDS::PassAllValueFilter<M::key_type > >::_filter
protectedinherited