Version: 8.3.0
SMDS_mapIterator< M > Struct Template Reference

map iterators More...

#include <SMDS_SetIterator.hxx>

Inheritance diagram for SMDS_mapIterator< M >:

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
 

Detailed Description

template<typename M>
struct SMDS_mapIterator< M >

map iterators

iterator on values of a map

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::more ( )
virtualinherited
virtual M::mapped_type SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > , SMDS::PassAllValueFilter<M::mapped_type > >::next ( )
virtualinherited
virtual void SMDS_Iterator< M::mapped_type >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation

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