]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Data.h
Salome HOME
The persistence mechanism of part results modification features support
[modules/shaper.git] / src / ModelAPI / ModelAPI_Data.h
index d06d7c100d99eaf153ad16f2aee7cd0b67754bdb..22293469911764463a6fd86e1183fb1766ccabcd 100644 (file)
@@ -154,9 +154,8 @@ 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;
+  /// Returns the owner of htis data
+  virtual std::shared_ptr<ModelAPI_Object> owner() = 0;
 
  protected:
   /// Objects are created for features automatically