]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Selector/Selector_NameGenerator.h
Salome HOME
updated copyright message
[modules/shaper.git] / src / Selector / Selector_NameGenerator.h
index 6ac0f4ce471d440571b2f1320e9b2d0fab9cb40f..0c63924b39b3eb008bf1a014c09f93c1451ee889 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef Selector_NameGenerator_H_
@@ -38,18 +37,15 @@ public:
   Selector_NameGenerator() {};
 
   /// This method returns the context name by the label of the sub-selected shape
-  virtual std::string contextName(const TDF_Label theSelectionLab) = 0;
+  virtual std::wstring contextName(const TDF_Label theSelectionLab) = 0;
 
   /// This method restores by the context and value name the context label and
   /// sub-label where the value is. Returns true if it is valid.
-  virtual bool restoreContext(std::string theName,
+  virtual bool restoreContext(std::wstring theName,
     TDF_Label& theContext, TDF_Label& theValue) = 0;
 
   /// Returns true if the first result is older than the second one in the tree of features
   virtual bool isLater(const TDF_Label theResult1, const TDF_Label theResult2) const = 0;
-
-  /// Returns the label of the newest context presented by the current one
-  virtual TDF_Label newestContext(const TDF_Label theCurrentContext) = 0;
 };
 
 #endif