]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelHighAPI/ModelHighAPI_Selection.h
Salome HOME
Task 2.1. Management of result names
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Selection.h
index 1aa1788e862cf813b14edfe0ac79324979939922..21da1cdfe188790a4c1f30c6876c21c378f9472d 100644 (file)
@@ -96,6 +96,10 @@ public:
   MODELHIGHAPI_EXPORT
   void setName(const std::string& theName);
 
+  /// Shortcut for result()->data()->name()
+  MODELHIGHAPI_EXPORT
+  std::string name() const;
+
   /// Change result's color
   MODELHIGHAPI_EXPORT
   void setColor(int theRed, int theGreen, int theBlue);