Version: 8.3.0
SMDS_Iterator< VALUE > Class Template Referenceabstract

Abstract class for iterators. More...

#include <SMDS_Iterator.hxx>

Inheritance diagram for SMDS_Iterator< VALUE >:

Public Member Functions

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

Detailed Description

template<typename VALUE>
class SMDS_Iterator< VALUE >

Abstract class for iterators.

Author
Jerome Robert

Constructor & Destructor Documentation

template<typename VALUE>
virtual SMDS_Iterator< VALUE >::~SMDS_Iterator ( )
virtual

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

Member Function Documentation

template<typename VALUE>
virtual void SMDS_Iterator< VALUE >::remove ( )
virtual

Delete the current element and step to the next one.