Open CASCADE Technology  7.5.0
Public Member Functions | Protected Member Functions | Protected Attributes

NCollection_BaseMap::Iterator Class Reference

Memory allocation. More...

#include <NCollection_BaseMap.hxx>

Inheritance diagram for NCollection_BaseMap::Iterator:
Inheritance graph
[legend]

Public Member Functions

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...
 

Protected Member Functions

 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

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

Memory allocation.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

NCollection_BaseMap::Iterator::Iterator ( void  )
inlineprotected

Empty constructor.

◆ Iterator() [2/2]

NCollection_BaseMap::Iterator::Iterator ( const NCollection_BaseMap theMap)
inlineprotected

Constructor.

Member Function Documentation

◆ Initialize()

void NCollection_BaseMap::Iterator::Initialize ( const NCollection_BaseMap theMap)
inline

Initialize.

◆ IsEqual()

Standard_Boolean NCollection_BaseMap::Iterator::IsEqual ( const Iterator theOther) const
inline

Performs comparison of two iterators.

◆ PMore()

Standard_Boolean NCollection_BaseMap::Iterator::PMore ( void  ) const
inlineprotected

PMore.

◆ PNext()

void NCollection_BaseMap::Iterator::PNext ( void  )
inlineprotected

PNext.

◆ Reset()

void NCollection_BaseMap::Iterator::Reset ( void  )
inline

Reset.

Field Documentation

◆ myBucket

Standard_Integer NCollection_BaseMap::Iterator::myBucket
protected

Current bucket.

◆ myBuckets

NCollection_ListNode** NCollection_BaseMap::Iterator::myBuckets
protected

Location in memory.

◆ myNbBuckets

Standard_Integer NCollection_BaseMap::Iterator::myNbBuckets
protected

Total buckets in the map.

◆ myNode

NCollection_ListNode* NCollection_BaseMap::Iterator::myNode
protected

Current node.


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