Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator Class Reference

#include <NCollection_DoubleMap.hxx>

Inheritance diagram for NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator:
Inheritance graph
[legend]

Public Member Functions

 Iterator (void)
 Empty constructor. More...
 
 Iterator (const NCollection_DoubleMap &theMap)
 Constructor. More...
 
virtual Standard_Boolean More (void) const
 Query if the end of collection is reached by iterator. More...
 
virtual void Next (void)
 Make a step along the collection. More...
 
const TheKey1Type & Key1 (void) const
 Key1 inquiry. More...
 
const TheKey2Type & Key2 (void) const
 Key2 inquiry. More...
 
virtual const TheKey2Type & Value (void) const
 Value access. More...
 
virtual TheKey2Type & ChangeValue (void) const
 Value change access - denied. More...
 
- Public Member Functions inherited from NCollection_BaseMap::Iterator
void Initialize (const NCollection_BaseMap &theMap)
 Initialize. More...
 
void Reset (void)
 Reset. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NCollection_BaseCollection< TheItemType >::Iterator
 Iterator (void)
 Empty constructor. More...
 
virtual ~Iterator (void)
 Virtual destructor is necessary for classes with virtual methods. More...
 
const Iteratoroperator= (const Iterator &)
 operator= is prohibited More...
 
 Iterator (const Iterator &)
 Copy constructor **. More...
 
- 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...
 

Constructor & Destructor Documentation

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Iterator ( void  )
inline

Empty constructor.

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Iterator ( const NCollection_DoubleMap theMap)
inline

Constructor.

Member Function Documentation

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
virtual TheKey2Type& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::ChangeValue ( void  ) const
inlinevirtual

Value change access - denied.

Implements NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
const TheKey1Type& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Key1 ( void  ) const
inline

Key1 inquiry.

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
const TheKey2Type& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Key2 ( void  ) const
inline

Key2 inquiry.

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
virtual Standard_Boolean NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::More ( void  ) const
inlinevirtual

Query if the end of collection is reached by iterator.

Implements NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
virtual void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Next ( void  )
inlinevirtual

Make a step along the collection.

Implements NCollection_BaseCollection< TheItemType >::Iterator.

template<class TheKey1Type , class TheKey2Type , class Hasher1 = NCollection_DefaultHasher<TheKey1Type>, class Hasher2 = NCollection_DefaultHasher<TheKey2Type>>
virtual const TheKey2Type& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Iterator::Value ( void  ) const
inlinevirtual

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