Open CASCADE Technology 7.8.0
Public Member Functions
NCollection_DataMap< TheKeyType, TheItemType, Hasher >::Iterator Class Reference

#include <NCollection_DataMap.hxx>

Inheritance diagram for NCollection_DataMap< TheKeyType, TheItemType, Hasher >::Iterator:
Inheritance graph
[legend]

Public Member Functions

 Iterator (void)
 Empty constructor.
 
 Iterator (const NCollection_DataMap &theMap)
 Constructor.
 
Standard_Boolean More (void) const
 Query if the end of collection is reached by iterator.
 
void Next (void)
 Make a step along the collection.
 
const TheItemTypeValue (void) const
 Value inquiry.
 
TheItemTypeChangeValue (void) const
 Value change access.
 
const TheKeyTypeKey (void) const
 Key.
 
- Public Member Functions inherited from NCollection_BaseMap::Iterator
void Initialize (const NCollection_BaseMap &theMap)
 Initialize.
 
void Reset (void)
 Reset.
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators.
 

Additional Inherited Members

- Protected Member Functions inherited from NCollection_BaseMap::Iterator
 Iterator (void)
 Empty constructor.
 
 Iterator (const NCollection_BaseMap &theMap)
 Constructor.
 
Standard_Boolean PMore (void) const
 PMore.
 
void PNext (void)
 PNext.
 
- Protected Attributes inherited from NCollection_BaseMap::Iterator
Standard_Integer myNbBuckets
 Total buckets in the map.
 
NCollection_ListNode ** myBuckets
 Location in memory.
 
Standard_Integer myBucket
 Current bucket.
 
NCollection_ListNodemyNode
 Current node.
 

Constructor & Destructor Documentation

◆ Iterator() [1/2]

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

Empty constructor.

◆ Iterator() [2/2]

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

Constructor.

Member Function Documentation

◆ ChangeValue()

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

Value change access.

◆ Key()

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

Key.

◆ More()

template<class TheKeyType , class TheItemType , class Hasher = NCollection_DefaultHasher<TheKeyType>>
Standard_Boolean NCollection_DataMap< 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_DataMap< 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_DataMap< TheKeyType, TheItemType, Hasher >::Iterator::Value ( void  ) const
inline

Value inquiry.


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