Open CASCADE Technology  6.9.1
Public Member Functions
NCollection_Vector< TheItemType >::Iterator Class Reference

Nested class Iterator. More...

#include <NCollection_Vector.hxx>

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

Public Member Functions

 Iterator ()
 Empty constructor - for later Init. More...
 
 Iterator (const NCollection_Vector &theVector, Standard_Boolean theToEnd=Standard_False)
 Constructor with initialisation. More...
 
 Iterator (const Iterator &theOther)
 Copy constructor. More...
 
void Init (const NCollection_Vector &theVector)
 Initialisation. More...
 
Iteratoroperator= (const Iterator &theOther)
 Assignment. More...
 
Standard_Boolean More () const
 Check end. More...
 
void Next ()
 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 () const
 Constant value access. More...
 
TheItemType & ChangeValue () const
 Variable value access. More...
 
Standard_Boolean IsEqual (const Iterator &theOther) const
 Performs comparison of two iterators. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NCollection_BaseVector::Iterator
 Iterator ()
 
 Iterator (const NCollection_BaseVector &theVector, Standard_Boolean theToEnd=Standard_False)
 
 Iterator (const Iterator &theVector)
 
void initV (const NCollection_BaseVector &theVector, Standard_Boolean theToEnd=Standard_False)
 
void copyV (const Iterator &)
 
Standard_Boolean moreV () const
 
void nextV ()
 
void prevV ()
 
void offsetV (Standard_Integer theOffset)
 
Standard_Integer differV (const Iterator &theOther) const
 
const MemBlockcurBlockV () const
 
- Protected Attributes inherited from NCollection_BaseVector::Iterator
const NCollection_BaseVectormyVector
 the Master vector More...
 
Standard_Integer myICurBlock
 

of the current block

More...
 
Standard_Integer myIEndBlock
 
Standard_Integer myCurIndex
 Index in the current block. More...
 
Standard_Integer myEndIndex
 

Detailed Description

template<class TheItemType>
class NCollection_Vector< TheItemType >::Iterator

Nested class Iterator.

Constructor & Destructor Documentation

template<class TheItemType>
NCollection_Vector< TheItemType >::Iterator::Iterator ( )
inline

Empty constructor - for later Init.

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

Constructor with initialisation.

template<class TheItemType>
NCollection_Vector< TheItemType >::Iterator::Iterator ( const Iterator theOther)
inline

Copy constructor.

Member Function Documentation

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

Variable value access.

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

Difference operator.

template<class TheItemType>
void NCollection_Vector< TheItemType >::Iterator::Init ( const NCollection_Vector theVector)
inline

Initialisation.

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

Performs comparison of two iterators.

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

Check end.

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

Increment operator.

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

Offset operator.

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

Assignment.

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

Decrement operator.

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

Constant value access.


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