Open CASCADE Technology  7.3.0
Public Member Functions

NCollection_Array1< TheItemType >::Iterator Class Reference

Implementation of the Iterator interface. More...

#include <NCollection_Array1.hxx>

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

Public Member Functions

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

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.

◆ operator=()

template<class TheItemType>
Iterator& NCollection_Array1< TheItemType >::Iterator::operator= ( const Iterator theOther)
inline

Assignment.

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