Open CASCADE Technology  7.3.0
Public Member Functions | Protected Attributes

NCollection_BaseSequence::Iterator Class Reference

Memory allocation. More...

#include <NCollection_BaseSequence.hxx>

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

Public Member Functions

 Iterator (void)
 Empty constructor. More...
 
 Iterator (const NCollection_BaseSequence &theSeq, const Standard_Boolean isStart)
 Constructor with initialisation. More...
 
void Init (const NCollection_BaseSequence &theSeq, const Standard_Boolean isStart=Standard_True)
 Initialisation. More...
 
Iteratoroperator= (const Iterator &theOther)
 Assignment. More...
 
void Previous ()
 Switch to previous element; note that it will reset. More...
 

Protected Attributes

NCollection_SeqNodemyCurrent
 Pointer to the current node. More...
 
NCollection_SeqNodemyPrevious
 Pointer to the previous node. More...
 

Detailed Description

Memory allocation.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

NCollection_BaseSequence::Iterator::Iterator ( void  )
inline

Empty constructor.

◆ Iterator() [2/2]

NCollection_BaseSequence::Iterator::Iterator ( const NCollection_BaseSequence theSeq,
const Standard_Boolean  isStart 
)
inline

Constructor with initialisation.

Member Function Documentation

◆ Init()

void NCollection_BaseSequence::Iterator::Init ( const NCollection_BaseSequence theSeq,
const Standard_Boolean  isStart = Standard_True 
)
inline

Initialisation.

◆ operator=()

Iterator& NCollection_BaseSequence::Iterator::operator= ( const Iterator theOther)
inline

Assignment.

◆ Previous()

void NCollection_BaseSequence::Iterator::Previous ( )
inline

Switch to previous element; note that it will reset.

Field Documentation

◆ myCurrent

NCollection_SeqNode* NCollection_BaseSequence::Iterator::myCurrent
protected

Pointer to the current node.

◆ myPrevious

NCollection_SeqNode* NCollection_BaseSequence::Iterator::myPrevious
protected

Pointer to the previous node.


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