SALOME - SMESH
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SMDS_mapKeyReverseIterator< M > Struct Template Reference

reverse iterator on keys of a map More...

#include <SMDS_SetIterator.hxx>

Inheritance diagram for SMDS_mapKeyReverseIterator< M >:
Inheritance graph
Collaboration diagram for SMDS_mapKeyReverseIterator< 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_mapKeyReverseIterator (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_mapKeyReverseIterator< M >

reverse iterator on keys of a map

Definition at line 131 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_mapKeyReverseIterator< M >::parent_type

Definition at line 136 of file SMDS_SetIterator.hxx.

Constructor & Destructor Documentation

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

Definition at line 137 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 
)
virtualinherited

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 ( )
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.

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.

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

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.

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.