Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
NCollection_IndexedMap< TheKeyType, Hasher >::Iterator Class Reference

#include <NCollection_IndexedMap.hxx>

Public Member Functions

 Iterator ()
 Empty constructor.
 
 Iterator (const NCollection_IndexedMap &theMap)
 Constructor.
 
bool More () const noexcept
 Query if the end of collection is reached by iterator.
 
void Next () noexcept
 Make a step along the collection.
 
const TheKeyTypeValue () const
 Value access.
 
bool IsEqual (const Iterator &theOther) const noexcept
 Performs comparison of two iterators.
 
int Index () const noexcept
 Returns current index (1-based).
 

Constructor & Destructor Documentation

◆ Iterator() [1/2]

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

Empty constructor.

◆ Iterator() [2/2]

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

Constructor.

Member Function Documentation

◆ Index()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
int NCollection_IndexedMap< TheKeyType, Hasher >::Iterator::Index ( ) const
inlinenoexcept

Returns current index (1-based).

◆ IsEqual()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
bool NCollection_IndexedMap< TheKeyType, Hasher >::Iterator::IsEqual ( const Iterator & theOther) const
inlinenoexcept

Performs comparison of two iterators.

◆ More()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
bool NCollection_IndexedMap< TheKeyType, Hasher >::Iterator::More ( ) const
inlinenoexcept

Query if the end of collection is reached by iterator.

◆ Next()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
void NCollection_IndexedMap< TheKeyType, Hasher >::Iterator::Next ( )
inlinenoexcept

Make a step along the collection.

◆ Value()

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

Value access.


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