Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)
 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...
 
virtual Standard_Boolean More () const
 Check end. More...
 
virtual void Next ()
 Make step. More...
 
virtual const TheItemType & Value () const
 Constant value access. More...
 
virtual TheItemType & ChangeValue () const
 Variable value access. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NCollection_BaseCollection< TheItemType >::Iterator
 Iterator (void)
 Empty constructor. More...
 
virtual ~Iterator (void)
 Virtual destructor is necessary for classes with virtual methods. More...
 
const Iteratoroperator= (const Iterator &)
 operator= is prohibited More...
 
 Iterator (const Iterator &)
 Copy constructor **. More...
 
- Protected Member Functions inherited from NCollection_BaseVector::Iterator
 Iterator ()
 
 Iterator (const NCollection_BaseVector &theVector)
 
 Iterator (const Iterator &theVector)
 
void initV (const NCollection_BaseVector &theVector)
 
void copyV (const Iterator &)
 
Standard_Boolean moreV () const
 
void nextV ()
 
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 ( void  )
inline

Empty constructor - for later Init.

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

Constructor with initialisation.

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

Copy constructor.

Member Function Documentation

template<class TheItemType>
virtual TheItemType& NCollection_Vector< TheItemType >::Iterator::ChangeValue ( void  ) const
inlinevirtual

Variable value access.

Implements NCollection_BaseCollection< TheItemType >::Iterator.

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

Initialisation.

template<class TheItemType>
virtual Standard_Boolean NCollection_Vector< TheItemType >::Iterator::More ( void  ) const
inlinevirtual
template<class TheItemType>
virtual void NCollection_Vector< TheItemType >::Iterator::Next ( void  )
inlinevirtual
template<class TheItemType>
Iterator& NCollection_Vector< TheItemType >::Iterator::operator= ( const Iterator theOther)
inline

Assignment.

template<class TheItemType>
virtual const TheItemType& NCollection_Vector< TheItemType >::Iterator::Value ( void  ) const
inlinevirtual

Constant value access.

Implements NCollection_BaseCollection< TheItemType >::Iterator.


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