]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Attribute.h
Salome HOME
Added the system of reinitialization of attributes instead of re-creation of them...
[modules/shaper.git] / src / ModelAPI / ModelAPI_Attribute.h
index 22231be4b4382372c0036a17d2c1aee7b3148d5f..95fd0544eec181d253eb975ba52d380dec6c8f27 100644 (file)
@@ -79,7 +79,11 @@ class ModelAPI_Attribute
   /// Sets the ID of the attribute in Data (called from Data)
   MODELAPI_EXPORT virtual void setID(const std::string theID);
 
+  /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc)
+  MODELAPI_EXPORT virtual void reinit();
+
   friend class Model_Data;
+  friend class Model_Objects;
 };
 
 //! Pointer on attribute object