Salome HOME
Compsolid: an interface to disable SHOW/HIDE action on sub-results.
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
index cc7ced07abde5356555f8011027a4d41666bf57b..e0aa9c6ed5407bdb44dad024e0dcc5adc27883e8 100644 (file)
@@ -83,6 +83,11 @@ MODULEBASE_EXPORT QString objectInfo(const ObjectPtr& theObj, const bool isUseAt
 /// \return TopAbs_ShapeEnum value
 MODULEBASE_EXPORT TopAbs_ShapeEnum shapeType(const QString& theType);
 
+/// Checks whether the object is a sub result. It gets the feature of the object,
+/// obtains all results of the feature and check if the object is a sub result
+/// \return boolean result
+MODULEBASE_EXPORT bool isSubResult(ObjectPtr theObject);
+
 /*!
 Check types of objects which are in the given list
 \param theObjects the list of objects