Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Meet the coding style (line length <= 100)
[modules/shaper.git]
/
src
/
GeomData
/
GeomData_Point2D.h
diff --git
a/src/GeomData/GeomData_Point2D.h
b/src/GeomData/GeomData_Point2D.h
index 8b4affa03ebc1bec6f155723e283d0589fee1fbb..3bb62e8a02cd1b7a1d47d38cd2978e99d8be41d7 100644
(file)
--- a/
src/GeomData/GeomData_Point2D.h
+++ b/
src/GeomData/GeomData_Point2D.h
@@
-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 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
const std::set<std::string>& theUsedParameters);
/// Returns the used parameters
@@
-68,7
+68,12
@@
class GeomData_Point2D : public GeomDataAPI_Point2D
protected:
/// Initializes attributes
protected:
/// Initializes attributes
- GEOMDATA_EXPORT GeomData_Point2D(TDF_Label& theLabel);
+ 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;
};
friend class Model_Data;
};