X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Integer.h;h=9bf1f3511259f122fcb2f292320915a7121b8971;hb=refs%2Fheads%2FV9_11_BR;hp=459c74da289704089f95fbc28dd70c46f238a96c;hpb=380f01e1fce1a012267d604a1190d04bf4659447;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Integer.h b/src/ModelHighAPI/ModelHighAPI_Integer.h index 459c74da2..9bf1f3511 100644 --- a/src/ModelHighAPI/ModelHighAPI_Integer.h +++ b/src/ModelHighAPI/ModelHighAPI_Integer.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 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 @@ -40,10 +40,10 @@ public: ModelHighAPI_Integer(int theValue = 0); /// Constructor for std::string MODELHIGHAPI_EXPORT - ModelHighAPI_Integer(const std::string & theValue); + ModelHighAPI_Integer(const std::wstring & theValue); /// Constructor for char * MODELHIGHAPI_EXPORT - ModelHighAPI_Integer(const char * theValue); + ModelHighAPI_Integer(const wchar_t * theValue); /// Destructor MODELHIGHAPI_EXPORT virtual ~ModelHighAPI_Integer(); @@ -56,12 +56,12 @@ public: MODELHIGHAPI_EXPORT virtual int intValue() const; /// Returns a string representation of the value - MODELHIGHAPI_EXPORT virtual std::string string() const; + MODELHIGHAPI_EXPORT virtual std::wstring string() const; private: enum VariantType { VT_INT, VT_STRING } myVariantType; int myInt; - std::string myString; + std::wstring myString; }; //--------------------------------------------------------------------------------------