]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Objects.h
Salome HOME
Task 2.1. Management of result names
[modules/shaper.git] / src / Model / Model_Objects.h
index 97507367db5ab1741de54c60e43c094e53267335..57e02fa3492b539851d737261a4cd394acdf4270 100644 (file)
@@ -229,6 +229,13 @@ class Model_Objects
   /// Just removes all features without touching the document data (to be able undo)
   virtual void eraseAllFeatures();
 
+  // Check whether the pre-image of the result had user-defined name.
+  // If yes, return this name.
+  bool hasCustomName(DataPtr theFeatureData,
+                     ResultPtr theResult,
+                     int theResultIndex,
+                     std::string& theParentName) const;
+
  private:
   TDF_Label myMain; ///< main label of the data storage