SALOME - SMESH
SMDS_mapKeyIterator< M > Struct Template Reference

iterator on keys of a map More...

#include <SMDS_SetIterator.hxx>

Inheritance diagram for SMDS_mapKeyIterator< M >:
Inheritance graph
Collaboration diagram for SMDS_mapKeyIterator< M >:
Collaboration graph

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)
 Initialization. More...
 
virtual bool more ()
 Return true if and only if 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
 

Detailed Description

template<typename M>
struct SMDS_mapKeyIterator< M >

iterator on keys of a map

Definition at line 119 of file SMDS_SetIterator.hxx.

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

Definition at line 124 of file SMDS_SetIterator.hxx.

Constructor & Destructor Documentation

◆ SMDS_mapKeyIterator()

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

Definition at line 125 of file SMDS_SetIterator.hxx.

Member Function Documentation

◆ init()

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

Initialization.

Definition at line 74 of file SMDS_SetIterator.hxx.

◆ more()

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

Return true if and only if there are other object in this iterator.

Implements SMDS_Iterator< M::key_type >.

Definition at line 79 of file SMDS_SetIterator.hxx.

◆ next()

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

Return the current object and step to the next one.

Implements SMDS_Iterator< M::key_type >.

Definition at line 82 of file SMDS_SetIterator.hxx.

◆ remove()

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

Delete the current element and step to the next one.

Definition at line 43 of file SMDS_Iterator.hxx.

Field Documentation

◆ _beg

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

Definition at line 67 of file SMDS_SetIterator.hxx.

◆ _end

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

Definition at line 67 of file SMDS_SetIterator.hxx.