SALOME - SMESH
SMDS_mapIterator Struct Reference

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

#include <SMDS_SetIterator.hxx>

Inheritance diagram for SMDS_mapIterator:
Inheritance graph
Collaboration diagram for SMDS_mapIterator:
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 VALUE_SET_ITERATOR &begin, const VALUE_SET_ITERATOR &end)
 Initialization.
virtual bool more ()
 Return true if and only if there are other object in this iterator.
virtual VALUE next ()
 Return the current object and step to the next one.

Protected Attributes

VALUE_SET_ITERATOR _beg
VALUE_SET_ITERATOR _end

Detailed Description

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

iterator on values of a map


Member Typedef Documentation

typedef SMDS_SetIterator< typename M::mapped_type, typename M::const_iterator, SMDS::ValueAccessor<typename M::mapped_type, typename M::const_iterator> > SMDS_mapIterator::parent_type

Definition at line 99 of file SMDS_SetIterator.hxx.


Constructor & Destructor Documentation

SMDS_mapIterator::SMDS_mapIterator ( const M &  m)

Definition at line 100 of file SMDS_SetIterator.hxx.


Member Function Documentation

virtual void SMDS_SetIterator::init ( const VALUE_SET_ITERATOR begin,
const VALUE_SET_ITERATOR end 
) [virtual, inherited]

Initialization.

Definition at line 74 of file SMDS_SetIterator.hxx.

References SMDS_SetIterator::_beg, and SMDS_SetIterator::_end.

virtual bool SMDS_SetIterator::more ( ) [virtual, inherited]

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

Definition at line 79 of file SMDS_SetIterator.hxx.

References SMDS_SetIterator::_beg, and SMDS_SetIterator::_end.

virtual VALUE SMDS_SetIterator::next ( ) [virtual, inherited]

Return the current object and step to the next one.

Definition at line 82 of file SMDS_SetIterator.hxx.

References SMDS_SetIterator::_beg.


Field Documentation

Definition at line 67 of file SMDS_SetIterator.hxx.

Definition at line 67 of file SMDS_SetIterator.hxx.