Salome HOME
updated copyright message
[modules/shaper.git] / src / Selector / Selector_Selector.h
index 5e62c948b59972c08c5a55807900107f49381de1..c1072867f162c38a849fa9c4298ea6492011aeeb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  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
@@ -66,14 +66,14 @@ public:
   /// Restores the selected shape by the topological name string.
   /// Returns not empty label of the context.
   SELECTOR_EXPORT TDF_Label restoreByName(
-    std::string theName, const TopAbs_ShapeEnum theShapeType,
+    std::wstring theName, const TopAbs_ShapeEnum theShapeType,
     Selector_NameGenerator* theNameGenerator, const bool theGeometricalNaming = false);
 
   /// Returns the current sub-shape value (null if can not resolve)
   SELECTOR_EXPORT TopoDS_Shape value();
 
   /// Returns the naming name of the selection
-  SELECTOR_EXPORT std::string name(Selector_NameGenerator* theNameGenerator);
+  SELECTOR_EXPORT std::wstring name(Selector_NameGenerator* theNameGenerator);
 
   /// Makes the current local selection becomes all sub-shapes with same base geometry.
   SELECTOR_EXPORT void combineGeometrical(const TopoDS_Shape theContext);