Open CASCADE Technology 7.8.2.dev
NCollection_BaseMap::Iterator Class Reference

Memory allocation. More...

#include <NCollection_BaseMap.hxx>

Inheritance diagram for NCollection_BaseMap::Iterator:

Public Member Functions

void Initialize (const NCollection_BaseMap &theMap)
 Initialize.
 
void Reset (void)
 Reset.
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators.
 

Protected Member Functions

 Iterator (void)
 Empty constructor.
 
 Iterator (const NCollection_BaseMap &theMap)
 Constructor.
 
Standard_Boolean PMore (void) const
 PMore.
 
void PNext (void)
 PNext.
 

Protected Attributes

Standard_Integer myNbBuckets
 Total buckets in the map.
 
NCollection_ListNode ** myBuckets
 Location in memory.
 
Standard_Integer myBucket
 Current bucket.
 
NCollection_ListNodemyNode
 Current node.
 

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: