* collects recursively all subs of the given result
*/
MODELAPI_EXPORT void allSubs(const std::shared_ptr<ModelAPI_ResultBody>& theResult,
- std::list<std::shared_ptr<ModelAPI_Result> >& theResults);
+ std::list<std::shared_ptr<ModelAPI_Result> >& theResults,
+ const bool theLowerOnly = false);
/*!
* Adds the results of the given feature to theResults list: including disabled and sub-results
*/
MODELAPI_EXPORT std::set<std::shared_ptr<ModelAPI_Feature> >
getParents(const std::shared_ptr<ModelAPI_Feature>& theFeature);
+
+/*! Creates a remove result features with the given results
+*/
+MODELAPI_EXPORT void removeResults(const std::list<std::shared_ptr<ModelAPI_Result> >& theResults);
}
#endif