]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Data.h
Salome HOME
Make the movement, placement and rotation 3D features may be applied to the Part...
[modules/shaper.git] / src / ModelAPI / ModelAPI_Data.h
index 0cd4631e60849c3a87bbdc1ce0467707a77c77ce..dfc6ee32af3359791efbc29ccb5ca74c278bd27d 100644 (file)
@@ -154,6 +154,10 @@ class MODELAPI_EXPORT ModelAPI_Data
   /// This method is called by the updater.
   virtual void setUpdateID(const int theID) = 0;
 
+  /// Returns true if the given object is owner of this data (needed for correct erase of object
+  /// with duplicated data)
+  virtual bool isOwner(ModelAPI_Object* theOwner) = 0;
+
  protected:
   /// Objects are created for features automatically
   ModelAPI_Data();