Open CASCADE Technology  6.9.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

NCollection_BaseSequence::Iterator::Iterator ( void  )
inline

Empty constructor.

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

Constructor with initialisation.

Member Function Documentation

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

Initialisation.

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

Assignment.

void NCollection_BaseSequence::Iterator::Previous ( )
inline

Switch to previous element; note that it will reset.

Field Documentation

NCollection_SeqNode* NCollection_BaseSequence::Iterator::myCurrent
protected

Pointer to the current node.

NCollection_SeqNode* NCollection_BaseSequence::Iterator::myPrevious
protected

Pointer to the previous node.


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