Open CASCADE Technology 7.8.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.
 
 Iterator (const NCollection_BaseSequence &theSeq, const Standard_Boolean isStart)
 Constructor with initialisation.
 
void Init (const NCollection_BaseSequence &theSeq, const Standard_Boolean isStart=Standard_True)
 Initialisation.
 
void Previous ()
 Switch to previous element; note that it will reset.
 

Protected Attributes

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

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.

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