Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Integer.h
index d45c63b761473100a19566cc57ee14441e42a322..9bf1f3511259f122fcb2f292320915a7121b8971 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  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;
 };
 
 //--------------------------------------------------------------------------------------