SALOME - SMESH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SMDS_mapIterator< M > Struct Template Reference

map iterators //////////////////////////////////////////////////////////////////////////// More...

#include <SMDS_SetIterator.hxx>

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

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)
 Initialization.
virtual bool more ()
 Return true if and only if there are other object in this iterator.
virtual M::mapped_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_mapIterator< M >

map iterators ////////////////////////////////////////////////////////////////////////////

iterator on values of a map

Definition at line 94 of file SMDS_SetIterator.hxx.


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

Definition at line 99 of file SMDS_SetIterator.hxx.


Constructor & Destructor Documentation

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

Definition at line 100 of file SMDS_SetIterator.hxx.


Member Function Documentation

virtual void SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::init ( const M::const_iterator &  begin,
const M::const_iterator &  end 
) [virtual, inherited]
virtual bool SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::more ( ) [virtual, inherited]

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

Implements SMDS_Iterator< M::mapped_type >.

Definition at line 79 of file SMDS_SetIterator.hxx.

References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::_beg, and SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::_end.

virtual M::mapped_type SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::next ( ) [virtual, inherited]

Return the current object and step to the next one.

Implements SMDS_Iterator< M::mapped_type >.

Definition at line 82 of file SMDS_SetIterator.hxx.

References SMDS_SetIterator< VALUE, VALUE_SET_ITERATOR, ACCESOR >::_beg.

virtual void SMDS_Iterator< M::mapped_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::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::_beg [protected, inherited]

Definition at line 67 of file SMDS_SetIterator.hxx.

M::const_iterator SMDS_SetIterator< M::mapped_type , M::const_iterator , SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >::_end [protected, inherited]

Definition at line 67 of file SMDS_SetIterator.hxx.