Open CASCADE Technology 7.8.0
Public Member Functions
NCollection_Sequence< TheItemType >::Iterator Class Reference

Implementation of the Iterator interface. More...

#include <NCollection_Sequence.hxx>

Inheritance diagram for NCollection_Sequence< TheItemType >::Iterator:
Inheritance graph
[legend]

Public Member Functions

 Iterator (void)
 Empty constructor - for later Init.
 
 Iterator (const NCollection_Sequence &theSeq, const Standard_Boolean isStart=Standard_True)
 Constructor with initialisation.
 
Standard_Boolean More (void) const
 Check end.
 
void Next (void)
 Make step.
 
const TheItemTypeValue (void) const
 Constant value access.
 
TheItemTypeChangeValue (void) const
 Variable value access.
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators.
 
- Public Member Functions inherited from NCollection_BaseSequence::Iterator
 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.
 

Additional Inherited Members

- Protected Attributes inherited from NCollection_BaseSequence::Iterator
NCollection_SeqNodemyCurrent
 Pointer to the current node.
 
NCollection_SeqNodemyPrevious
 Pointer to the previous node.
 

Detailed Description

template<class TheItemType>
class NCollection_Sequence< TheItemType >::Iterator

Implementation of the Iterator interface.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<class TheItemType >
NCollection_Sequence< TheItemType >::Iterator::Iterator ( void  )
inline

Empty constructor - for later Init.

◆ Iterator() [2/2]

template<class TheItemType >
NCollection_Sequence< TheItemType >::Iterator::Iterator ( const NCollection_Sequence theSeq,
const Standard_Boolean  isStart = Standard_True 
)
inline

Constructor with initialisation.

Member Function Documentation

◆ ChangeValue()

template<class TheItemType >
TheItemType & NCollection_Sequence< TheItemType >::Iterator::ChangeValue ( void  ) const
inline

Variable value access.

◆ IsEqual()

template<class TheItemType >
Standard_Boolean NCollection_Sequence< TheItemType >::Iterator::IsEqual ( const Iterator theOther) const
inline

Performs comparison of two iterators.

◆ More()

template<class TheItemType >
Standard_Boolean NCollection_Sequence< TheItemType >::Iterator::More ( void  ) const
inline

Check end.

◆ Next()

template<class TheItemType >
void NCollection_Sequence< TheItemType >::Iterator::Next ( void  )
inline

Make step.

◆ Value()

template<class TheItemType >
const TheItemType & NCollection_Sequence< TheItemType >::Iterator::Value ( void  ) const
inline

Constant value access.


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