]> SALOME platform Git repositories - modules/shaper.git/blob - src/Model/Model_Feature.h
Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / Model / Model_Feature.h
1 // File:        Model_Feature.hxx
2 // Created:     21 Mar 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef Model_Feature_HeaderFile
6 #define Model_Feature_HeaderFile
7
8 #include "Model.h"
9 #include <ModelAPI_Feature.h>
10 #include <TDF_Label.hxx>
11
12 /**\class Model_Feature
13  * \ingroup DataModel
14  * \brief General object of the application that allows
15  * to get/set attributes from the document and compute result of an operation.
16  */
17
18 class Model_Feature: public ModelAPI_Feature
19 {
20   TDF_Label myLab; ///< label of the feature in the document
21
22   Model_Feature();
23   friend class Model_PluginManager;
24 public:
25   /// Returns the kind of a feature (like "Point")
26   virtual std::string GetKind() = 0;
27
28   void setLabel(TDF_Label& theLab);
29 };
30
31 #endif