Salome HOME
Second iteration of XML based object browser
[modules/shaper.git] / src / ModelAPI / ModelAPI_Entity.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        ModelAPI_Entity.h
4 // Created:     27 July 2015
5 // Author:      Vitaly SMETANNIKOV
6
7 #ifndef ModelAPI_Entity_H_
8 #define ModelAPI_Entity_H_
9
10 /**\class ModelAPI_Entity
11  * \ingroup DataModel
12  * \brief Represents a common parent class for Objects and documents.
13  * Provided in order to make possible distingiushing of objects and documents
14  * by downcasting of their pointers.
15  */
16 class ModelAPI_Entity
17 {
18 public:
19   /// Empty function which is added for virtualisation of the interface
20   virtual void emptyFunction() const {}
21 };
22
23 #endif