Open CASCADE Technology  7.5.0
Public Member Functions

NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator Class Reference

Implementation of the Iterator interface. More...

#include <NCollection_IndexedDataMap.hxx>

Public Member Functions

 Iterator ()
 Empty constructor. More...
 
 Iterator (const NCollection_IndexedDataMap &theMap)
 Constructor. More...
 
Standard_Boolean More (void) const
 Query if the end of collection is reached by iterator. More...
 
void Next (void)
 Make a step along the collection. More...
 
const TheItemType & Value (void) const
 Value access. More...
 
TheItemType & ChangeValue (void) const
 ChangeValue access. More...
 
const TheKeyType & Key () const
 Key. More...
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators. More...
 

Detailed Description

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
class NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator

Implementation of the Iterator interface.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::Iterator ( )
inline

Empty constructor.

◆ Iterator() [2/2]

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::Iterator ( const NCollection_IndexedDataMap theMap)
inline

Constructor.

Member Function Documentation

◆ ChangeValue()

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
TheItemType& NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::ChangeValue ( void  ) const
inline

ChangeValue access.

◆ IsEqual()

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
Standard_Boolean NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::IsEqual ( const Iterator theOther) const
inline

Performs comparison of two iterators.

◆ Key()

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
const TheKeyType& NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::Key ( ) const
inline

Key.

◆ More()

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
Standard_Boolean NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::More ( void  ) const
inline

Query if the end of collection is reached by iterator.

◆ Next()

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
void NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::Next ( void  )
inline

Make a step along the collection.

◆ Value()

template<class TheKeyType, class TheItemType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
const TheItemType& NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >::Iterator::Value ( void  ) const
inline

Value access.


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