X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomDataAPI%2FGeomDataAPI_Point2D.h;h=0bc21454855e69025ccf6d88648d915c67c4902d;hb=a36923e4ef2c8bdfe3ff3fdf6692b2cb181dbc72;hp=adb1f5320ebf8945cd2c7ccd763ecfad683ecd63;hpb=a94fc319f2aa64b43c9a73b5ff7063923648faec;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/GeomDataAPI_Point2D.h b/src/GeomDataAPI/GeomDataAPI_Point2D.h index adb1f5320..0bc214548 100644 --- a/src/GeomDataAPI/GeomDataAPI_Point2D.h +++ b/src/GeomDataAPI/GeomDataAPI_Point2D.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 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 @@ -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 GeomDataAPI_Point2D_H_ @@ -53,13 +52,13 @@ class GeomDataAPI_Point2D : public ModelAPI_Attribute GEOMDATAAPI_EXPORT virtual void setCalculatedValue(const double theX, const double theY) = 0; /// Defines the text values - GEOMDATAAPI_EXPORT virtual void setText(const std::string& theX, - const std::string& theY) = 0; + GEOMDATAAPI_EXPORT virtual void setText(const std::wstring& theX, + const std::wstring& theY) = 0; /// Returns the text value for X - GEOMDATAAPI_EXPORT virtual std::string textX() = 0; + GEOMDATAAPI_EXPORT virtual std::wstring textX() = 0; /// Returns the text value for Y - GEOMDATAAPI_EXPORT virtual std::string textY() = 0; + GEOMDATAAPI_EXPORT virtual std::wstring textY() = 0; /// Point component (x,y) enum PointComponent { C_X = 0, @@ -81,10 +80,10 @@ class GeomDataAPI_Point2D : public ModelAPI_Attribute /// Defines the used parameters GEOMDATAAPI_EXPORT virtual void setUsedParameters(int theComponent, - const std::set& theUsedParameters) = 0; + const std::set& theUsedParameters) = 0; /// Returns the used parameters - GEOMDATAAPI_EXPORT virtual std::set usedParameters(int theComponent) const = 0; + GEOMDATAAPI_EXPORT virtual std::set usedParameters(int theComponent) const = 0; /// Appends the delta values to point GEOMDATAAPI_EXPORT void move(const double theDeltaX, const double theDeltaY);