X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSelector%2FSelector_Selector.h;h=5ad20f26f0b96fc9a34229e0bae9f78dbc103f1c;hb=8b0dfd12172cd5b3c027a4d07489db2d395a43a3;hp=bb84365c02d431c43e86b5e1fe85254e9afea034;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/Selector/Selector_Selector.h b/src/Selector/Selector_Selector.h index bb84365c0..5ad20f26f 100644 --- a/src/Selector/Selector_Selector.h +++ b/src/Selector/Selector_Selector.h @@ -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);