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

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)
inline

Constructor with initialisation.

Member Function Documentation

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

Variable value access.

Implements NCollection_BaseCollection< TheItemType >::Iterator.

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

Initialisation.

template<class TheItemType>
virtual Standard_Boolean NCollection_Array1< TheItemType >::Iterator::More ( void  ) const
inlinevirtual
template<class TheItemType>
virtual void NCollection_Array1< TheItemType >::Iterator::Next ( void  )
inlinevirtual
template<class TheItemType>
virtual const TheItemType& NCollection_Array1< 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: