SALOME - SMESH
SMESH_IndexedMap::Iterator Class Reference

#include <SMESH_IndexedMap.hxx>

Inheritance diagram for SMESH_IndexedMap::Iterator:
Inheritance graph
Collaboration diagram for SMESH_IndexedMap::Iterator:
Collaboration graph

Public Member Functions

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

Private Attributes

SMESH_IndexedMapmyMap
Standard_Integer myIndex

Constructor & Destructor Documentation

SMESH_IndexedMap::Iterator::Iterator ( void  )

Empty constructor.

Definition at line 84 of file SMESH_IndexedMap.hxx.

SMESH_IndexedMap::Iterator::Iterator ( const SMESH_IndexedMap theMap)

Constructor.

Definition at line 88 of file SMESH_IndexedMap.hxx.


Member Function Documentation

virtual Standard_Boolean SMESH_IndexedMap::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 Value().

Here is the caller graph for this function:

virtual void SMESH_IndexedMap::Iterator::Next ( void  ) [virtual]

Make a step along the collection.

Definition at line 95 of file SMESH_IndexedMap.hxx.

References myIndex.

virtual const TheKeyType& SMESH_IndexedMap::Iterator::Value ( void  ) const [virtual]

Value access.

Definition at line 98 of file SMESH_IndexedMap.hxx.

References More(), myMap, SMESH_IndexedMap::FindKey(), and myIndex.

Here is the call graph for this function:

virtual TheKeyType& SMESH_IndexedMap::Iterator::ChangeValue ( void  ) const [virtual]

Value change access denied - use Substitute.

Definition at line 107 of file SMESH_IndexedMap.hxx.

void* SMESH_IndexedMap::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

Definition at line 119 of file SMESH_IndexedMap.hxx.

Referenced by Value().

Standard_Integer SMESH_IndexedMap::Iterator::myIndex [private]

Definition at line 120 of file SMESH_IndexedMap.hxx.

Referenced by Next(), and Value().