SMDS_mapIterator< M > Struct Template Reference

map iterators More...

#include <SMDS_SetIterator.hxx>

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)
 
- Public Member Functions inherited from SMDS_SetIterator< M::mapped_type, M::const_iterator, SMDS::ValueAccessor< M::mapped_type, M::const_iterator > >
virtual void init (const M::const_iterator &begin, const M::const_iterator &end, const SMDS::PassAllValueFilter< M::mapped_type > &filter=SMDS::PassAllValueFilter< M::mapped_type >())
 Initialization. More...
 
virtual bool more ()
 Return true iff there are other object in this iterator. More...
 
virtual M::mapped_type next ()
 Return the current object and step to the next one. More...
 
 SMDS_SetIterator (const M::const_iterator &begin, const M::const_iterator &end, const SMDS::PassAllValueFilter< M::mapped_type > &filter=SMDS::PassAllValueFilter< M::mapped_type >())
 
- Public Member Functions inherited from SMDS_Iterator< M::mapped_type >
virtual bool more ()=0
 Return true if and only if there are other object in this iterator. More...
 
virtual M::mapped_type next ()=0
 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...
 
virtual ~SMDS_Iterator ()
 Provide virtual destructor just for case if some derived iterator must have a destructor. More...
 

Detailed Description

template<typename M>
struct SMDS_mapIterator< M >

map iterators

iterator on values of a map

Member Typedef Documentation

◆ parent_type

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

Constructor & Destructor Documentation

◆ SMDS_mapIterator()

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

The documentation for this struct was generated from the following file: