SALOME - SMESH
NCollection_BaseCollection< TheItemType >::Iterator Class Referenceabstract

#include <NCollection_BaseCollection.hxx>

Public Member Functions

virtual Standard_Boolean More (void) const =0
 Query if the end of collection is reached by iterator. More...
 
virtual void Next (void)=0
 Make a step along the collection. More...
 
virtual const TheItemType & Value (void) const =0
 Value inquiry. More...
 
virtual TheItemType & ChangeValue (void) const =0
 Value change access. More...
 

Protected Member Functions

 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_BaseCollection< TheItemType >::Iterator

Definition at line 48 of file NCollection_BaseCollection.hxx.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<class TheItemType >
NCollection_BaseCollection< TheItemType >::Iterator::Iterator ( void  )
protected

Empty constructor.

Definition at line 64 of file NCollection_BaseCollection.hxx.

◆ ~Iterator()

template<class TheItemType >
virtual NCollection_BaseCollection< TheItemType >::Iterator::~Iterator ( void  )
protectedvirtual

Virtual destructor is necessary for classes with virtual methods.

Definition at line 66 of file NCollection_BaseCollection.hxx.

References NCollection_BaseCollection< TheItemType >::Iterator::operator=().

Here is the call graph for this function:

◆ Iterator() [2/2]

template<class TheItemType >
NCollection_BaseCollection< TheItemType >::Iterator::Iterator ( const Iterator )
protected

Copy constructor **.

Definition at line 71 of file NCollection_BaseCollection.hxx.

References NCollection_BaseCollection< TheItemType >::NCollection_BaseCollection().

Here is the call graph for this function:

Member Function Documentation

◆ More()

template<class TheItemType >
virtual Standard_Boolean NCollection_BaseCollection< TheItemType >::Iterator::More ( void  ) const
pure virtual

Query if the end of collection is reached by iterator.

◆ Next()

template<class TheItemType >
virtual void NCollection_BaseCollection< TheItemType >::Iterator::Next ( void  )
pure virtual

Make a step along the collection.

◆ Value()

template<class TheItemType >
virtual const TheItemType& NCollection_BaseCollection< TheItemType >::Iterator::Value ( void  ) const
pure virtual

Value inquiry.

◆ ChangeValue()

template<class TheItemType >
virtual TheItemType& NCollection_BaseCollection< TheItemType >::Iterator::ChangeValue ( void  ) const
pure virtual

Value change access.

◆ operator=()

template<class TheItemType >
const Iterator& NCollection_BaseCollection< TheItemType >::Iterator::operator= ( const Iterator )
protected

operator= is prohibited

Referenced by NCollection_BaseCollection< TheItemType >::Iterator::~Iterator().

Here is the caller graph for this function: