X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FModel_AttributeSelectionList.h;h=a8b7df78499d611ca35606decc35889339403660;hb=e8fce5fe73fee1a8ea2929934a7e6f71bd1e3eb5;hp=2db50d9b400f5b49254550a7493886c7bcbd24ec;hpb=645e2cb70c0e40290725f28fdc5fec8a93338d28;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeSelectionList.h b/src/Model/Model_AttributeSelectionList.h index 2db50d9b4..a8b7df784 100644 --- a/src/Model/Model_AttributeSelectionList.h +++ b/src/Model/Model_AttributeSelectionList.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2021 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 @@ -56,14 +56,16 @@ public: /// Adds the new reference to the end of the list by the naming name of the selected shape /// The type of shape is taken from the current selection type if the given is empty - MODEL_EXPORT virtual void append(const std::string& theNamingName, const std::string& theType=""); + MODEL_EXPORT virtual void append(const std::wstring& theNamingName, + const std::string& theType=""); /// Adds the new reference to the end of the list by inner point on the selected shape MODEL_EXPORT virtual void append(const std::shared_ptr& thePoint, const std::string& theType); /// Adds the new reference to the end of the list by weak naming index - MODEL_EXPORT virtual void append(const std::string& theType, const std::string& theContextName, + MODEL_EXPORT virtual void append(const std::string& theType, + const std::wstring& theContextName, const int theIndex); /// Copy the selection list to the destination attribute