Open CASCADE Technology  7.6.0
Protected Member Functions | Protected Attributes

NCollection_BaseVector::Iterator Class Reference

Base class for Iterator implementation. More...

#include <NCollection_BaseVector.hxx>

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

Protected Member Functions

 Iterator ()
 
 Iterator (const NCollection_BaseVector &theVector, Standard_Boolean theToEnd=Standard_False)
 
void initV (const NCollection_BaseVector &theVector, Standard_Boolean theToEnd=Standard_False)
 
Standard_Boolean moreV () const
 
void nextV ()
 
void prevV ()
 
void offsetV (Standard_Integer theOffset)
 
Standard_Integer differV (const Iterator &theOther) const
 
const MemBlockcurBlockV () const
 

Protected Attributes

const NCollection_BaseVectormyVector
 the Master vector More...
 
Standard_Integer myICurBlock
 
Standard_Integer myIEndBlock
 
Standard_Integer myCurIndex
 Index in the current block. More...
 
Standard_Integer myEndIndex
 

Detailed Description

Base class for Iterator implementation.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

NCollection_BaseVector::Iterator::Iterator ( )
inlineprotected

◆ Iterator() [2/2]

NCollection_BaseVector::Iterator::Iterator ( const NCollection_BaseVector theVector,
Standard_Boolean  theToEnd = Standard_False 
)
inlineprotected

Member Function Documentation

◆ curBlockV()

const MemBlock* NCollection_BaseVector::Iterator::curBlockV ( ) const
inlineprotected

◆ differV()

Standard_Integer NCollection_BaseVector::Iterator::differV ( const Iterator theOther) const
inlineprotected

◆ initV()

void NCollection_BaseVector::Iterator::initV ( const NCollection_BaseVector theVector,
Standard_Boolean  theToEnd = Standard_False 
)
protected

◆ moreV()

Standard_Boolean NCollection_BaseVector::Iterator::moreV ( ) const
inlineprotected

◆ nextV()

void NCollection_BaseVector::Iterator::nextV ( )
inlineprotected

◆ offsetV()

void NCollection_BaseVector::Iterator::offsetV ( Standard_Integer  theOffset)
inlineprotected

◆ prevV()

void NCollection_BaseVector::Iterator::prevV ( )
inlineprotected

Field Documentation

◆ myCurIndex

Standard_Integer NCollection_BaseVector::Iterator::myCurIndex
protected

Index in the current block.

◆ myEndIndex

Standard_Integer NCollection_BaseVector::Iterator::myEndIndex
protected

◆ myICurBlock

Standard_Integer NCollection_BaseVector::Iterator::myICurBlock
protected
<> of the current block

◆ myIEndBlock

Standard_Integer NCollection_BaseVector::Iterator::myIEndBlock
protected

◆ myVector

const NCollection_BaseVector* NCollection_BaseVector::Iterator::myVector
protected

the Master vector


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