Open CASCADE Technology 7.7.2
NCollection_Array1< TheItemType >::Iterator Class Reference

Implementation of the Iterator interface. More...

#include <NCollection_Array1.hxx>

Inheritance diagram for NCollection_Array1< TheItemType >::Iterator:

Public Member Functions

 Iterator (void)
 Empty constructor - for later Init.
 
 Iterator (const NCollection_Array1 &theArray, Standard_Boolean theToEnd=Standard_False)
 Constructor with initialization.
 
void Init (const NCollection_Array1 &theArray)
 Initialisation.
 
Standard_Boolean More (void) const
 Check end.
 
void Next (void)
 Increment operator.
 
void Previous ()
 Decrement operator.
 
void Offset (ptrdiff_t theOffset)
 Offset operator.
 
ptrdiff_t Differ (const Iterator &theOther) const
 Difference operator.
 
const TheItemType & Value (void) const
 Constant value access.
 
TheItemType & ChangeValue (void) const
 Variable value access.
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators.
 

Detailed Description

template<class TheItemType>
class NCollection_Array1< TheItemType >::Iterator

Implementation of the Iterator interface.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

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

Empty constructor - for later Init.

◆ Iterator() [2/2]

template<class TheItemType >
NCollection_Array1< TheItemType >::Iterator::Iterator ( const NCollection_Array1 & theArray,
Standard_Boolean theToEnd = Standard_False )
inline

Constructor with initialization.

Member Function Documentation

◆ ChangeValue()

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

Variable value access.

◆ Differ()

template<class TheItemType >
ptrdiff_t NCollection_Array1< TheItemType >::Iterator::Differ ( const Iterator & theOther) const
inline

Difference operator.

◆ Init()

template<class TheItemType >
void NCollection_Array1< TheItemType >::Iterator::Init ( const NCollection_Array1 & theArray)
inline

Initialisation.

◆ IsEqual()

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

Performs comparison of two iterators.

◆ More()

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

Check end.

◆ Next()

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

Increment operator.

◆ Offset()

template<class TheItemType >
void NCollection_Array1< TheItemType >::Iterator::Offset ( ptrdiff_t theOffset)
inline

Offset operator.

◆ Previous()

template<class TheItemType >
void NCollection_Array1< TheItemType >::Iterator::Previous ( )
inline

Decrement operator.

◆ Value()

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

Constant value access.


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