1 // File: ModelAPI_Result.hxx
2 // Created: 07 Jul 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef ModelAPI_Result_H_
6 #define ModelAPI_Result_H_
8 #include "ModelAPI_Object.h"
10 class ModelAPI_Feature;
12 /**\class ModelAPI_Result
14 * \brief The result of a feature.
16 * A generic class that .
18 class ModelAPI_Result : public ModelAPI_Object
20 bool myIsConcealed; ///< the result is concealed from the data tree (referenced by other objects)
22 /// Returns true if the result is concealed from the data tree (referenced by other objects)
23 inline bool isConcealed() {return myIsConcealed;}
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;}
28 /// To virtually destroy the fields of successors
29 virtual ~ModelAPI_Result()
35 //! Pointer on feature object
36 typedef boost::shared_ptr<ModelAPI_Result> ResultPtr;