Version: 8.3.0
SMDS_mapKeyIterator< M > Struct Template Reference

iterator on keys of a map More...

#include <SMDS_SetIterator.hxx>

Inheritance diagram for SMDS_mapKeyIterator< 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
 

Public Member Functions

 SMDS_mapKeyIterator (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_mapKeyIterator< M >

iterator on keys of a map

Member Typedef Documentation

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_mapKeyIterator< M >::parent_type

Constructor & Destructor Documentation

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

Member Function Documentation

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 M::const_iterator &  begin,
const M::const_iterator &  end,
const SMDS::PassAllValueFilter<M::key_type > &  filter = VALUE_FILTER() 
)
virtualinherited

Initialization.

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< M::key_type >.

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< M::key_type >.

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

Delete the current element and step to the next one.

Field Documentation

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
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
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