]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModelAPI/ModelAPI_Attribute.h
Salome HOME
Sketch line feature based on points attributes
[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 class MODELAPI_EXPORT ModelAPI_Attribute
16 {
17 public:
18   
19   /// Returns the type of this class of attributes, not static method
20   virtual std::string attributeType() = 0;
21
22   /// To virtually destroy the fields of successors
23   virtual ~ModelAPI_Attribute() {}
24
25 protected:
26   /// Objects are created for features automatically
27   ModelAPI_Attribute(){}
28
29 };
30
31 #endif