Salome HOME
Make sub-group features presented correctly in he tree
[modules/shaper.git] / src / ModelAPI / ModelAPI_Tools.h
index 9085e6d776d699c2f02be326e3c303ab42112011..00f6cd4fd570611ac0d997cd911bbdf913e5a273 100755 (executable)
@@ -100,6 +100,13 @@ MODELAPI_EXPORT bool hasSubResults(const ResultPtr& theResult);
 */
 MODELAPI_EXPORT void allResults(const FeaturePtr& theFeature, std::list<ResultPtr>& theResults);
 
+/*!
+ Returns true if there are no parts in the document, which are not activated
+ \param theNotActivatedNames out string which contains not activated names
+ \return a boolean value
+ */
+MODELAPI_EXPORT bool allDocumentsActivated(std::string& theNotActivatedNames);
+
 
 /*! Removes features from the document
 * \param theFeatures a list of features to be removed