Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/smesh.git] / src / SMDS / SMDS_Iterator.hxx
index 371bc0e1a9c47e2f0c71ac7472ef375bb3dcc7a9..5685541b63540948e557c3b1a186bb3fa492718b 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _SMDS_Iterator_HeaderFile
 #define _SMDS_Iterator_HeaderFile
 
+#include "SMESH_SMDS.hxx"
+
 ///////////////////////////////////////////////////////////////////////////////
 ///Abstract class for iterators
 ///@author Jerome Robert
@@ -30,10 +32,10 @@ template<typename VALUE> class SMDS_Iterator
 {
   public:
        /// Return true if and only if there are other object in this iterator
-       virtual bool more()=0;
+         virtual bool more()=0;
        
        /// Return the current object and step to the next one
-       virtual VALUE next()=0;
+         virtual VALUE next()=0;
        
        /// Delete the current element and step to the next one
        virtual void remove(){}