Salome HOME
[EDF] (2023-T1) Sketch middle point constrain should create point if missing
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeString.h
index 1b2bbb9e731f26d9b0c421648a43b5f050cdccd8..1b6f65de89be5d4e5abea53f63ee235e620f6166 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
@@ -39,8 +39,9 @@ class ModelAPI_AttributeString : public ModelAPI_Attribute
 
   /// Returns the string value
   MODELAPI_EXPORT virtual std::string value() = 0;
-  /// Returns the wstring value
-  MODELAPI_EXPORT virtual std::wstring valueW() = 0;
+  /// Returns a pointer to Unicode string
+  MODELAPI_EXPORT virtual char16_t* valueU() = 0;
+  MODELAPI_EXPORT virtual bool isUValue() const = 0;
 
   /// Returns the type of this class of attributes
   MODELAPI_EXPORT static std::string typeId()