Open CASCADE Technology  7.1.0.beta
Public Member Functions
NCollection_Map< TheKeyType, Hasher >::Iterator Class Reference

Implementation of the Iterator interface. More...

#include <NCollection_Map.hxx>

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

Public Member Functions

 Iterator (void)
 Empty constructor. More...
 
 Iterator (const NCollection_Map &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 TheKeyType & Value (void) const
 Value inquiry. More...
 
TheKeyType & ChangeValue (void) const
 Value change access - denied. More...
 
const TheKeyType & Key (void) const
 Key. More...
 
- Public Member Functions inherited from NCollection_BaseMap::Iterator
void Initialize (const NCollection_BaseMap &theMap)
 Initialize. More...
 
void Reset (void)
 Reset. More...
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators. More...
 

Additional Inherited Members

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

Detailed Description

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

Implementation of the Iterator interface.

Constructor & Destructor Documentation

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

Empty constructor.

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

Constructor.

Member Function Documentation

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

Value change access - denied.

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

Key.

template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
Standard_Boolean NCollection_Map< TheKeyType, Hasher >::Iterator::More ( void  ) const
inline

Query if the end of collection is reached by iterator.

template<class TheKeyType, class Hasher = NCollection_DefaultHasher<TheKeyType>>
void NCollection_Map< TheKeyType, Hasher >::Iterator::Next ( void  )
inline

Make a step along the collection.

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

Value inquiry.


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