X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_CompositeFeature.h;h=f243cb3338bec21e2e6728846c097efc249f054b;hb=a3ee4e38876c359fdf737179605db194bca4ecbb;hp=df78236d98e2a124d40c7ad632fb35e559821329;hpb=d499ef7358a4dc4ce020054fc94ef04c22e9e444;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_CompositeFeature.h b/src/ModelAPI/ModelAPI_CompositeFeature.h index df78236d9..f243cb333 100644 --- a/src/ModelAPI/ModelAPI_CompositeFeature.h +++ b/src/ModelAPI/ModelAPI_CompositeFeature.h @@ -35,6 +35,10 @@ public: /// Returns true if feature or reuslt belong to this composite feature as subs virtual bool isSub(ObjectPtr theObject) const = 0; + + /// This method to inform that sub-feature is removed and must be removed from the internal data + /// structures of the owner (the remove from the document will be done outside just after) + virtual void removeFeature(std::shared_ptr theFeature) = 0; }; //! Pointer on the composite feature object