Salome HOME
Merge remote-tracking branch 'origin/BR_WIRE_RESULTS'
[modules/shaper.git] / src / ModelAPI / ModelAPI_Feature.h
index 2c252429df3943d7e9530b33a8945a6bd7f58975..a6c51d0407958d4831cc29773cc8e127aec5e9d1 100644 (file)
@@ -61,6 +61,8 @@ class ModelAPI_Feature : public ModelAPI_Object
   MODELAPI_EXPORT void removeResult(const boost::shared_ptr<ModelAPI_Result>& theResult);
   /// removes all results from the feature
   MODELAPI_EXPORT void eraseResults();
+  /// removes all fields from this feature: results, data, etc
+  MODELAPI_EXPORT virtual void erase();
 
   /// Returns true if result is persistent (stored in document) and on undo-redo, save-open
   /// it is not needed to recompute it.