0020832: EDF 1359 SMESH : Automatic meshing of boundary layers

+  _Self
+  operator++(int)

+  bool
+  operator==(const _Self& __x) const
This commit is contained in:
eap 2011-01-18 10:51:03 +00:00
parent cbe181b40c
commit 708dbb145f

View 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