24 #ifndef _SMDS_Iterator_HeaderFile 25 #define _SMDS_Iterator_HeaderFile 37 virtual bool more()=0;
40 virtual VALUE
next()=0;
43 virtual void remove(){}
virtual ~SMDS_Iterator()
Provide virtual destructor just for case if some derived iterator must have a destructor.
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.
Abstract class for iterators.