Back to index

salome-smesh  6.5.0
Public Member Functions
SMDS_Iterator< VALUE > Class Template Reference

Abstract class for iterators. More...

#include <SMDS_Iterator.hxx>

Inheritance diagram for SMDS_Iterator< VALUE >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool more ()=0
 Return true if and only if there are other object in this iterator.
virtual VALUE next ()=0
 Return the current object and step to the next one.
virtual void remove ()
 Delete the current element and step to the next one.
virtual ~SMDS_Iterator ()
 Provide virtual destructor just for case if some derived iterator must have a destructor.

Detailed Description

template<typename VALUE>
class SMDS_Iterator< VALUE >

Abstract class for iterators.

Author:
Jerome Robert ////////////////////////////////////////////////////////////////////////////

Definition at line 34 of file SMDS_Iterator.hxx.


Constructor & Destructor Documentation

template<typename VALUE>
virtual SMDS_Iterator< VALUE >::~SMDS_Iterator ( ) [inline, virtual]

Provide virtual destructor just for case if some derived iterator must have a destructor.

Definition at line 48 of file SMDS_Iterator.hxx.

{}

Member Function Documentation

template<typename VALUE>
virtual bool SMDS_Iterator< VALUE >::more ( ) [pure virtual]
template<typename VALUE>
virtual VALUE SMDS_Iterator< VALUE >::next ( ) [pure virtual]
template<typename VALUE>
virtual void SMDS_Iterator< VALUE >::remove ( ) [inline, virtual]

Delete the current element and step to the next one.

Definition at line 44 of file SMDS_Iterator.hxx.

{}

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