Open CASCADE Technology  7.0.0
Public Member Functions

NCollection_Array1< TheItemType >::Iterator Class Reference

Implementation of the Iterator interface. More...

#include <NCollection_Array1.hxx>

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

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

Empty constructor - for later Init.

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

Constructor with initialization.

Member Function Documentation

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

Variable value access.

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

Difference operator.

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

Initialisation.

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

Performs comparison of two iterators.

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

Check end.

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

Increment operator.

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

Offset operator.

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

Assignment.

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

Decrement operator.

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: