SALOME - SMESH
SMDS_Iterator Class Reference

Abstract class for iterators. More...

#include <SMDS_Iterator.hxx>

Inheritance diagram for SMDS_Iterator:
Inheritance graph

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

Abstract class for iterators.

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

Constructor & Destructor Documentation

virtual SMDS_Iterator::~SMDS_Iterator ( ) [virtual]

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

Definition at line 47 of file SMDS_Iterator.hxx.


Member Function Documentation

virtual bool SMDS_Iterator::more ( ) [pure virtual]

Return true if and only if there are other object in this iterator.

Implemented in SMDS_SetIterator, and SMDS_IteratorOfElements.

virtual VALUE SMDS_Iterator::next ( ) [pure virtual]

Return the current object and step to the next one.

Implemented in SMDS_SetIterator, and SMDS_IteratorOfElements.

virtual void SMDS_Iterator::remove ( ) [virtual]

Delete the current element and step to the next one.

Definition at line 43 of file SMDS_Iterator.hxx.