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.
virtual bool more ()
 Return true if and only if there are other object in this iterator.
virtual M::key_type next ()
 Return the current object and step to the next one.
virtual void remove ()
 Delete the current element and step to the next one.

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

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

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

Definition at line 125 of file SMDS_SetIterator.hxx.


Member Function Documentation

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 
) [virtual, inherited]

Initialization.

Definition at line 74 of file SMDS_SetIterator.hxx.

virtual bool SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >.more (  )  [virtual, inherited]

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.

virtual M::key_type SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >.next (  )  [virtual, inherited]

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.

virtual void SMDS_Iterator< M::key_type >.remove (  )  [virtual, inherited]

Delete the current element and step to the next one.

Definition at line 43 of file SMDS_Iterator.hxx.


Field Documentation

M::const_iterator SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >._beg [protected, inherited]

Definition at line 67 of file SMDS_SetIterator.hxx.

M::const_iterator SMDS_SetIterator< M::key_type , M::const_iterator , SMDS::KeyAccessor< M::key_type, M::const_iterator > >._end [protected, inherited]

Definition at line 67 of file SMDS_SetIterator.hxx.


Generated on 22 Oct 2012 for SALOME - SMESH by  doxygen 1.6.1