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

Implementation of the Iterator interface. Iterates in insertion order by walking the doubly-linked list. More...

#include <NCollection_OrderedMap.hxx>

Public Member Functions

 Iterator () noexcept
 Empty constructor.
 
 Iterator (const NCollection_OrderedMap &theMap) noexcept
 Constructor.
 
bool More () const noexcept
 Query if the end of collection is reached by iterator.
 
void Next () noexcept
 Make a step along the collection (in insertion order)
 
const TheKeyTypeValue () const
 Value inquiry.
 
const TheKeyTypeKey () const
 Key.
 
bool IsEqual (const Iterator &theOther) const noexcept
 Performs comparison of two iterators.
 
void Initialize (const NCollection_OrderedMap &theMap) noexcept
 Initialize.
 
void Reset () noexcept
 Reset.
 

Detailed Description

template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
class NCollection_OrderedMap< TheKeyType, Hasher >::Iterator

Implementation of the Iterator interface. Iterates in insertion order by walking the doubly-linked list.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
NCollection_OrderedMap< TheKeyType, Hasher >::Iterator::Iterator ( )
inlinenoexcept

Empty constructor.

◆ Iterator() [2/2]

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

Constructor.

Member Function Documentation

◆ Initialize()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
void NCollection_OrderedMap< TheKeyType, Hasher >::Iterator::Initialize ( const NCollection_OrderedMap & theMap)
inlinenoexcept

Initialize.

◆ IsEqual()

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

Performs comparison of two iterators.

◆ Key()

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

Key.

◆ More()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
bool NCollection_OrderedMap< 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_OrderedMap< TheKeyType, Hasher >::Iterator::Next ( )
inlinenoexcept

Make a step along the collection (in insertion order)

◆ Reset()

template<class TheKeyType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
void NCollection_OrderedMap< TheKeyType, Hasher >::Iterator::Reset ( )
inlinenoexcept

Reset.

◆ Value()

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

Value inquiry.


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