SALOME - SMESH
SMESH_IndexedMap< TheKeyType >::Iterator Class Reference

#include <SMESH_IndexedMap.hxx>

Inheritance diagram for SMESH_IndexedMap< TheKeyType >::Iterator:
Inheritance graph
Collaboration diagram for SMESH_IndexedMap< TheKeyType >::Iterator:
Collaboration graph

Public Member Functions

 Iterator (void)
 Empty constructor. More...
 
 Iterator (const SMESH_IndexedMap &theMap)
 Constructor. More...
 
virtual Standard_Boolean More (void) const
 Query if the end of collection is reached by iterator. More...
 
virtual void Next (void)
 Make a step along the collection. More...
 
virtual const TheKeyType & Value (void) const
 Value access. More...
 
virtual TheKeyType & ChangeValue (void) const
 Value change access denied - use Substitute. More...
 
void * operator new (size_t theSize, const Handle(NCollection_BaseAllocator)&theAllocator)
 Operator new for allocating iterators. More...
 

Private Attributes

SMESH_IndexedMapmyMap
 
Standard_Integer myIndex
 

Detailed Description

template<class TheKeyType>
class SMESH_IndexedMap< TheKeyType >::Iterator

Definition at line 79 of file SMESH_IndexedMap.hxx.

Constructor & Destructor Documentation

template<class TheKeyType >
SMESH_IndexedMap< TheKeyType >::Iterator::Iterator ( void  )

Empty constructor.

Definition at line 84 of file SMESH_IndexedMap.hxx.

template<class TheKeyType >
SMESH_IndexedMap< TheKeyType >::Iterator::Iterator ( const SMESH_IndexedMap theMap)

Constructor.

Definition at line 88 of file SMESH_IndexedMap.hxx.

Member Function Documentation

template<class TheKeyType >
virtual Standard_Boolean SMESH_IndexedMap< TheKeyType >::Iterator::More ( void  ) const
virtual

Query if the end of collection is reached by iterator.

Definition at line 92 of file SMESH_IndexedMap.hxx.

Referenced by SMESH_IndexedMap< TheKeyType >::Iterator::Value().

Here is the caller graph for this function:

template<class TheKeyType >
virtual void SMESH_IndexedMap< TheKeyType >::Iterator::Next ( void  )
virtual

Make a step along the collection.

Definition at line 95 of file SMESH_IndexedMap.hxx.

References SMESH_IndexedMap< TheKeyType >::Iterator::myIndex.

template<class TheKeyType >
virtual const TheKeyType& SMESH_IndexedMap< TheKeyType >::Iterator::Value ( void  ) const
virtual
template<class TheKeyType >
virtual TheKeyType& SMESH_IndexedMap< TheKeyType >::Iterator::ChangeValue ( void  ) const
virtual

Value change access denied - use Substitute.

Definition at line 107 of file SMESH_IndexedMap.hxx.

template<class TheKeyType >
void* SMESH_IndexedMap< TheKeyType >::Iterator::operator new ( size_t  theSize,
const Handle(NCollection_BaseAllocator)&  theAllocator 
)

Operator new for allocating iterators.

Definition at line 114 of file SMESH_IndexedMap.hxx.

Field Documentation

template<class TheKeyType >
SMESH_IndexedMap* SMESH_IndexedMap< TheKeyType >::Iterator::myMap
private
template<class TheKeyType >
Standard_Integer SMESH_IndexedMap< TheKeyType >::Iterator::myIndex
private