]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Data.h
Salome HOME
Make the movement, placement and rotation 3D features may be applied to the Part...
[modules/shaper.git] / src / Model / Model_Data.h
index 5e51c9d506e26316402676362a96689cc3be1876..1a502b4b0ca0f295b3f43c25c0aa4de06f2ea3a4 100644 (file)
@@ -200,6 +200,10 @@ class Model_Data : public ModelAPI_Data
   /// This method is called by the updater.
   MODEL_EXPORT virtual void setUpdateID(const int theID);
 
+  /// Returns true if the given object is owner of this data (needed for correct erase of object
+  /// with duplicated data)
+  MODEL_EXPORT virtual bool isOwner(ModelAPI_Object* theOwner);
+
 protected:
   /// Returns true if "is in history" custom behaviors is defined for the feature
   MODEL_EXPORT virtual bool isInHistory();