X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSelector%2FSelector_Primitive.h;h=0fbcc2b56c9137865a52fe7dd406d64dab5f8556;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=ea8b23a89570ae48ef1e6a57305ae34f15d007f0;hpb=9b61e5ee5eafe9d6948d9a78667efa2abec132c3;p=modules%2Fshaper.git diff --git a/src/Selector/Selector_Primitive.h b/src/Selector/Selector_Primitive.h index ea8b23a89..0fbcc2b56 100644 --- a/src/Selector/Selector_Primitive.h +++ b/src/Selector/Selector_Primitive.h @@ -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 @@ -12,10 +12,9 @@ // // 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 +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef Selector_Primitive_H_ @@ -44,14 +43,14 @@ public: /// Restores the selected shape by the topological name string. /// Returns not empty label of the context. - SELECTOR_EXPORT virtual TDF_Label restoreByName(std::string theName, + SELECTOR_EXPORT virtual TDF_Label restoreByName(std::wstring theName, const TopAbs_ShapeEnum theShapeType, Selector_NameGenerator* theNameGenerator) override; /// Updates the current shape by the stored topological name SELECTOR_EXPORT virtual bool solve(const TopoDS_Shape& theContext) override; /// Returns the naming name of the selection - SELECTOR_EXPORT virtual std::string name(Selector_NameGenerator* theNameGenerator) override; + SELECTOR_EXPORT virtual std::wstring name(Selector_NameGenerator* theNameGenerator) override; private: /// Initializes selector Selector_Primitive();