Salome HOME
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
[modules/smesh.git] / src / SMDS / SMDS_StdIterator.hxx
index f14b7e3fb11f2e6095a5e6d0c6ea6464d556aaae..ee4352e27ecfa77808c34038023a8795933d71bb 100644 (file)
@@ -60,11 +60,21 @@ public:
   operator++()
   { _value = _piterator->more() ? VALUE( _piterator->next()) : 0; return *this; }
 
+  //  Step to the next one
+  _Self
+  operator++(int)
+  { _Self res = *this; _value = _piterator->more() ? VALUE( _piterator->next()) : 0; return res; }
+
   // Test of end
   bool
   operator!=(const _Self& __x) const
   { return !_EqualVALUE( _value, __x._value); }
 
+  // Test of equality
+  bool
+  operator==(const _Self& __x) const
+  { return _EqualVALUE( _value, __x._value); }
+
 };
 
 #endif