X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeString.h;h=1b6f65de89be5d4e5abea53f63ee235e620f6166;hb=refs%2Fheads%2FCR35150;hp=1b2bbb9e731f26d9b0c421648a43b5f050cdccd8;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeString.h b/src/ModelAPI/ModelAPI_AttributeString.h index 1b2bbb9e7..1b6f65de8 100644 --- a/src/ModelAPI/ModelAPI_AttributeString.h +++ b/src/ModelAPI/ModelAPI_AttributeString.h @@ -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()