Open CASCADE Technology  6.9.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 (void)
 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

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

Empty constructor.

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

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

ChangeValue access.

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.

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

Key.

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.

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.

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: