Salome HOME
Meet the coding style (line length <= 100)
[modules/shaper.git] / src / GeomData / GeomData_Point2D.h
index d73b20207f24209ab97df5ab067ac21465f21cf4..3bb62e8a02cd1b7a1d47d38cd2978e99d8be41d7 100644 (file)
@@ -60,7 +60,7 @@ class GeomData_Point2D : public GeomDataAPI_Point2D
   GEOMDATA_EXPORT virtual std::string expressionError(int theComponent);
 
   /// Defines the used parameters
-  GEOMDATA_EXPORT virtual void setUsedParameters(int theComponent, 
+  GEOMDATA_EXPORT virtual void setUsedParameters(int theComponent,
     const std::set<std::string>& theUsedParameters);
 
   /// Returns the used parameters
@@ -69,6 +69,11 @@ class GeomData_Point2D : public GeomDataAPI_Point2D
  protected:
   /// Initializes attributes
   GEOMDATA_EXPORT GeomData_Point2D();
+  /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
+  virtual void reinit();
+
+  /// Resets attribute to deafult state.
+  virtual void reset();
 
   friend class Model_Data;
 };