std::list<std::shared_ptr<ModelAPI_Result> >& theResults);
/*! Return the default name of the result according the the features it depends.
+ * Return also whether the name is get from the concealing result of parent object
+ * (means that concealing result has user-defined name).
*/
-MODELAPI_EXPORT std::string getDefaultName(const std::shared_ptr<ModelAPI_Result>& theResult,
- const int theResultIndex);
+MODELAPI_EXPORT std::pair<std::string, bool> getDefaultName(
+ const std::shared_ptr<ModelAPI_Result>& theResult,
+ const int theResultIndex);
}
#endif