Salome HOME
Updated copyright comment
[modules/shaper.git] / src / Model / Model_AttributeInteger.cpp
index efa3f1567b88b89d4a8f61d2d8169413c57ca373..ef60113dda1edf8ba8376da3ae23170787d21430 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -55,7 +55,7 @@ int Model_AttributeInteger::value()
   return myExpression->value();
 }
 
-void Model_AttributeInteger::setText(const std::string& theValue)
+void Model_AttributeInteger::setText(const std::wstring& theValue)
 {
   if (text() != theValue) {
     myExpression->setText(theValue);
@@ -65,7 +65,7 @@ void Model_AttributeInteger::setText(const std::string& theValue)
   }
 }
 
-std::string Model_AttributeInteger::text()
+std::wstring Model_AttributeInteger::text()
 {
   return myExpression->text();
 }
@@ -91,12 +91,12 @@ std::string Model_AttributeInteger::expressionError()
   return myExpression->error();
 }
 
-void Model_AttributeInteger::setUsedParameters(const std::set<std::string>& theUsedParameters)
+void Model_AttributeInteger::setUsedParameters(const std::set<std::wstring>& theUsedParameters)
 {
   myExpression->setUsedParameters(theUsedParameters);
 }
 
-std::set<std::string> Model_AttributeInteger::usedParameters() const
+std::set<std::wstring> Model_AttributeInteger::usedParameters() const
 {
   return myExpression->usedParameters();
 }