1 // File: Model_AttributeString.h
2 // Created: 25 august 2014
5 #ifndef MODEL_ATTRIBUTESTRING_H_
6 #define MODEL_ATTRIBUTESTRING_H_
9 #include <ModelAPI_AttributeString.h>
11 #include <TDF_Label.hxx>
12 #include <Handle_TDataStd_Name.hxx>
16 /**\class Model_AttributeString
18 * \brief Attribute that contains std (null terminated) string.
21 class Model_AttributeString : public ModelAPI_AttributeString
23 Handle_TDataStd_Name myString;
25 /// Defines the std::string value
26 MODEL_EXPORT virtual void setValue(const std::string& theValue);
28 /// Returns the std::string value
29 MODEL_EXPORT virtual std::string value();
32 /// Initializes attibutes
33 Model_AttributeString(TDF_Label& theLabel);
35 friend class Model_Data;