1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: Model_AttributeString.h
4 // Created: 25 august 2014
7 #ifndef MODEL_ATTRIBUTESTRING_H_
8 #define MODEL_ATTRIBUTESTRING_H_
11 #include <ModelAPI_AttributeString.h>
13 #include <TDF_Label.hxx>
14 #include <TDataStd_Name.hxx>
18 /**\class Model_AttributeString
20 * \brief Attribute that contains std (null terminated) string.
23 class Model_AttributeString : public ModelAPI_AttributeString
25 Handle_TDataStd_Name myString;
27 /// Defines the std::string value
28 MODEL_EXPORT virtual void setValue(const std::string& theValue);
30 /// Returns the std::string value
31 MODEL_EXPORT virtual std::string value();
34 /// Initializes attibutes
35 Model_AttributeString(TDF_Label& theLabel);
37 friend class Model_Data;