Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / ModelAPI / ModelAPI_Attribute.h
1 // File:        ModelAPI_Attribute.h
2 // Created:     2 Apr 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef ModelAPI_Attribute_HeaderFile
6 #define ModelAPI_Attribute_HeaderFile
7
8 #include "ModelAPI.h"
9 #include <string>
10
11 /**\class ModelAPI_Attribute
12  * \ingroup DataModel
13  * \brief Generic attribute of the Object.
14  */
15
16 class MODELAPI_EXPORT ModelAPI_Attribute
17 {
18 public:
19   
20   /// Returns the type of this class of attributes, not static method
21   virtual std::string attributeType() = 0;
22
23 protected:
24   /// Objects are created for features automatically
25   ModelAPI_Attribute()
26   {}
27 };
28
29 #endif