]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModelAPI/ModelAPI_Result.h
Salome HOME
Boost has been removed from code
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.h
1 // File:        ModelAPI_Result.hxx
2 // Created:     07 Jul 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef ModelAPI_Result_H_
6 #define ModelAPI_Result_H_
7
8 #include "ModelAPI_Object.h"
9
10 class ModelAPI_Feature;
11
12 /**\class ModelAPI_Result
13  * \ingroup DataModel
14  * \brief The result of a feature.
15  *
16  * A generic class that .
17  */
18 class ModelAPI_Result : public ModelAPI_Object
19 {
20   bool myIsConcealed; ///< the result is concealed from the data tree (referenced by other objects)
21  public:
22    /// Returns true if the result is concealed from the data tree (referenced by other objects)
23   inline bool isConcealed() {return myIsConcealed;}
24
25   /// Returns true if the result is concealed from the data tree (referenced by other objects)
26   inline void setIsConcealed(const bool theValue) {myIsConcealed = theValue;}
27
28   /// To virtually destroy the fields of successors
29   virtual ~ModelAPI_Result()
30   {
31   }
32
33 };
34
35 //! Pointer on feature object
36 typedef std::shared_ptr<ModelAPI_Result> ResultPtr;
37
38 #endif