// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#ifndef _SMDS_Iterator_HeaderFile
#define _SMDS_Iterator_HeaderFile
+#include "SMESH_SMDS.hxx"
+
///////////////////////////////////////////////////////////////////////////////
///Abstract class for iterators
///@author Jerome Robert
///////////////////////////////////////////////////////////////////////////////
-template<typename VALUE> class SMDS_Iterator
+template<typename VALUE> class SMDS_EXPORT SMDS_Iterator
{
public:
/// Return true if and only if there are other object in this iterator
virtual VALUE next()=0;
/// Delete the current element and step to the next one
- virtual void remove(){};
+ virtual void remove(){}
+
+ /// Provide virtual destructor just for case if some derived iterator
+ /// must have a destructor
+ virtual ~SMDS_Iterator(){}
};
#endif