Salome HOME
Implementation of naming parametrisation of sketch result
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeSelection.h
index 08f5f6e5d85248b1f32e7f4b029bc4d79b479c56..40882dde44a8871b1ee8ec21e7afc328db6c53b7 100644 (file)
@@ -26,6 +26,10 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute
   /// Returns the context of the selection (the whole shape owner)
   virtual ResultPtr context() = 0;
 
+  /// Updates the underlied selection due to the changes in the referenced objects
+  /// \returns false if update is failed
+  virtual bool update() = 0;
+
   /// Returns the type of this class of attributes
   static std::string type()
   {