Salome HOME
#18963 C++17 ready: attempt 2
[modules/shaper.git] / src / Selector / Selector_Selector.h
index bb84365c02d431c43e86b5e1fe85254e9afea034..5ad20f26f0b96fc9a34229e0bae9f78dbc103f1c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 //
 // 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);