X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Expression.h;fp=src%2FModelAPI%2FModelAPI_Expression.h;h=dbfdeba6955b4ff5350a35ac2c88329862c4ba9a;hb=b5eaf6f6971771b1e39f55ba5fc484e2f150ffb8;hp=c583e58c7afecbb52991f6e62ac33a2b48e2079f;hpb=3e40e36af7bb9e49d10924383c71efd6c8186c16;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Expression.h b/src/ModelAPI/ModelAPI_Expression.h index c583e58c7..dbfdeba69 100644 --- a/src/ModelAPI/ModelAPI_Expression.h +++ b/src/ModelAPI/ModelAPI_Expression.h @@ -56,10 +56,16 @@ class ModelAPI_Expression protected: /// Objects are created for features automatically MODELAPI_EXPORT ModelAPI_Expression(); + /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc) + MODELAPI_EXPORT virtual void reinit() = 0; bool myIsInitialized; ///< is some value assigned to this attribute friend class Model_Data; + friend class Model_AttributeDouble; + friend class Model_AttributeInteger; + friend class GeomData_Point; + friend class GeomData_Point2D; };