]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
authoreap <eap@opencascade.com>
Tue, 18 Jan 2011 10:51:03 +0000 (10:51 +0000)
committereap <eap@opencascade.com>
Tue, 18 Jan 2011 10:51:03 +0000 (10:51 +0000)
+  _Self
+  operator++(int)

+  bool
+  operator==(const _Self& __x) const

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