Salome HOME
ffa5448c4a899f614c2ca3cb28d863f503f7bcac
[modules/shaper.git] / src / ModelAPI / ModelAPI_Feature.h
1 // File:        ModelAPI_Feature.hxx
2 // Created:     21 Mar 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef ModelAPI_Feature_HeaderFile
6 #define ModelAPI_Feature_HeaderFile
7
8 #include "ModelAPI.h"
9 #include <string>
10
11 class ModelAPI_Feature;
12
13 /**\class ModelAPI_Feature
14  * \ingroup DataModel
15  * \brief General object of the application that allows
16  * to get/set attributes from the document and compute result of an operation.
17  */
18
19 class MODELAPI_EXPORT ModelAPI_Feature
20 {
21 public:
22   /// Returns the kind of a feature (like "Point")
23   virtual std::string GetKind() = 0;
24
25   /// Use plugin manager for features creation: this method is 
26   /// defined here only for SWIG-wrapping
27   ModelAPI_Feature()
28   {
29   }
30 };
31
32 #endif