Version: 8.3.0
SMDS_mapReverseIterator< M > Struct Template Reference

reverse iterator on values of a map More...

#include <SMDS_SetIterator.hxx>

Inheritance diagram for SMDS_mapReverseIterator< M >:

Public Types

typedef SMDS_SetIterator
< typename M::mapped_type,
typename
M::const_reverse_iterator,
SMDS::ValueAccessor< typename
M::mapped_type, typename
M::const_reverse_iterator > > 
parent_type
 

Public Member Functions

 SMDS_mapReverseIterator (const M &m)
 
virtual void init (const M::const_reverse_iterator &begin, const M::const_reverse_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_reverse_iterator _beg
 
M::const_reverse_iterator _end
 
SMDS::PassAllValueFilter
< M::mapped_type > 
_filter
 

Detailed Description

template<typename M>
struct SMDS_mapReverseIterator< M >

reverse iterator on values of a map

Member Typedef Documentation

template<typename M >
typedef SMDS_SetIterator< typename M::mapped_type, typename M::const_reverse_iterator, SMDS::ValueAccessor<typename M::mapped_type, typename M::const_reverse_iterator> > SMDS_mapReverseIterator< M >::parent_type

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void SMDS_SetIterator< M::mapped_type , M::const_reverse_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::init ( const M::const_reverse_iterator &  begin,
const M::const_reverse_iterator &  end,
const SMDS::PassAllValueFilter<M::mapped_type > &  filter = VALUE_FILTER() 
)
virtualinherited

Initialization.

virtual bool SMDS_SetIterator< M::mapped_type , M::const_reverse_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::more ( )
virtualinherited

Return true iff there are other object in this iterator.

Implements SMDS_Iterator< M::mapped_type >.

virtual M::mapped_type SMDS_SetIterator< M::mapped_type , M::const_reverse_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::next ( )
virtualinherited

Return the current object and step to the next one.

Implements SMDS_Iterator< M::mapped_type >.

virtual void SMDS_Iterator< M::mapped_type >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation

M::const_reverse_iterator SMDS_SetIterator< M::mapped_type , M::const_reverse_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::_beg
protectedinherited
M::const_reverse_iterator SMDS_SetIterator< M::mapped_type , M::const_reverse_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::_end
protectedinherited
SMDS::PassAllValueFilter<M::mapped_type > SMDS_SetIterator< M::mapped_type , M::const_reverse_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_reverse_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::_filter
protectedinherited