]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Result.h
Salome HOME
added the "Bring To Front" command for Groups
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.h
index 778529c221b0ae2d34b4ec84f7b51af32e138765..88caeb55c66528cd34a805c0187af334f40f3c43 100644 (file)
@@ -87,6 +87,14 @@ class ModelAPI_Result : public ModelAPI_Object
     return MY_SHOW_EDGES_DIRECTION_ID;
   }
 
+  /// Reference to the BringToFront flag of the result.
+  /// The bool value is used.
+  inline static const std::string& BRING_TO_FRONT_ID()
+  {
+    static const std::string MY_BRING_TO_FRONT_ID("Bring_To_Front");
+    return MY_BRING_TO_FRONT_ID;
+  }
+
   /// Returns true if the result is concealed from the data tree (referenced by other objects)
   MODELAPI_EXPORT virtual bool isConcealed();