Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
NCollection_FlatDataMap< TheKeyType, TheItemType, Hasher >::Iterator Class Reference

Forward iterator for NCollection_FlatDataMap. More...

#include <NCollection_FlatDataMap.hxx>

Public Member Functions

 Iterator () noexcept
 Empty constructor.
 Iterator (const NCollection_FlatDataMap &theMap) noexcept
 Constructor from map.
bool More () const noexcept
 Check if there are more elements.
void Next () noexcept
 Move to next element.
const TheKeyType & Key () const
 Get current key.
const TheItemType & Value () const
 Get current value (const)
TheItemType & ChangeValue () const
 Get current value (mutable)
bool IsEqual (const Iterator &theOther) const noexcept
 Performs comparison of two iterators.

Detailed Description

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

Forward iterator for NCollection_FlatDataMap.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

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

Empty constructor.

◆ Iterator() [2/2]

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

Constructor from map.

Member Function Documentation

◆ ChangeValue()

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

Get current value (mutable)

◆ IsEqual()

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

Performs comparison of two iterators.

◆ Key()

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

Get current key.

◆ More()

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

Check if there are more elements.

◆ Next()

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

Move to next element.

◆ Value()

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

Get current value (const)


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