]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_AttributeDouble.h
Salome HOME
Issue #3237: Allow usage of accented characters in ObjectBrowser
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeDouble.h
index eae4e43b5915322ab92266a62525fc3303d78054..22cd3338c65bf9130a59470120877af02c8f1ebf 100644 (file)
@@ -43,10 +43,10 @@ class ModelAPI_AttributeDouble : public ModelAPI_Attribute
   MODELAPI_EXPORT virtual void setCalculatedValue(const double theValue) = 0;
 
   /// Defines the text value
-  MODELAPI_EXPORT virtual void setText(const std::string& theText) = 0;
+  MODELAPI_EXPORT virtual void setText(const std::wstring& theText) = 0;
 
   /// Returns the text value
-  MODELAPI_EXPORT virtual std::string text() = 0;
+  MODELAPI_EXPORT virtual std::wstring text() = 0;
 
   /// Allows to set expression (text) as invalid (by the parameters listener)
   MODELAPI_EXPORT virtual void setExpressionInvalid(const bool theFlag) = 0;
@@ -62,10 +62,10 @@ class ModelAPI_AttributeDouble : public ModelAPI_Attribute
 
   /// Defines the used parameters
   MODELAPI_EXPORT virtual
-    void setUsedParameters(const std::set<std::string>& theUsedParameters) = 0;
+    void setUsedParameters(const std::set<std::wstring>& theUsedParameters) = 0;
 
   /// Returns the used parameters
-  MODELAPI_EXPORT virtual std::set<std::string> usedParameters() const = 0;
+  MODELAPI_EXPORT virtual std::set<std::wstring> usedParameters() const = 0;
 
   /// Returns the type of this class of attributes
   MODELAPI_EXPORT static std::string typeId()