Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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) noexcept
 Initialize.
 
void Reset () noexcept
 Reset.
 
bool IsEqual (const Iterator &theOther) const noexcept
 Performs comparison of two iterators.
 

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Memory allocation.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

NCollection_BaseMap::Iterator::Iterator ( )
inlineprotectednoexcept

Empty constructor.

◆ Iterator() [2/2]

NCollection_BaseMap::Iterator::Iterator ( const NCollection_BaseMap & theMap)
inlineprotectednoexcept

Constructor.

Member Function Documentation

◆ Initialize()

void NCollection_BaseMap::Iterator::Initialize ( const NCollection_BaseMap & theMap)
inlinenoexcept

Initialize.

◆ IsEqual()

bool NCollection_BaseMap::Iterator::IsEqual ( const Iterator & theOther) const
inlinenoexcept

Performs comparison of two iterators.

◆ PMore()

bool NCollection_BaseMap::Iterator::PMore ( ) const
inlineprotectednoexcept

PMore.

◆ PNext()

void NCollection_BaseMap::Iterator::PNext ( )
inlineprotectednoexcept

PNext.

◆ Reset()

void NCollection_BaseMap::Iterator::Reset ( )
inlinenoexcept

Reset.

Field Documentation

◆ myBucket

size_t NCollection_BaseMap::Iterator::myBucket
protected

Current bucket.

◆ myBuckets

NCollection_ListNode** NCollection_BaseMap::Iterator::myBuckets
protected

Location in memory.

◆ myNbBuckets

size_t 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: