Salome HOME
Added the removeLast method into AttributeRefList
[modules/shaper.git] / src / ModelAPI / ModelAPI_Result.h
index dedee45d769f2d11c3687fbd49d5e736b946b2d3..97359e5ad74d9d43b3fa3bc9f6acedaedb53e60e 100644 (file)
@@ -21,6 +21,7 @@ class ModelAPI_Feature;
 class ModelAPI_Result : public ModelAPI_Object
 {
   bool myIsConcealed; ///< the result is concealed from the data tree (referenced by other objects)
+ protected:
   bool myIsDisabled; ///< the result is disabled: removed for the user, but keeps the general info
  public:
 
@@ -34,10 +35,7 @@ class ModelAPI_Result : public ModelAPI_Object
   }
 
   /// Returns true if the result is concealed from the data tree (referenced by other objects)
-  inline bool isConcealed()
-  {
-    return myIsConcealed;
-  }
+  MODELAPI_EXPORT virtual bool isConcealed();
 
   /// Returns true if the result is concealed from the data tree (referenced by other objects)
   MODELAPI_EXPORT void setIsConcealed(const bool theValue);
@@ -54,7 +52,7 @@ class ModelAPI_Result : public ModelAPI_Object
   /// Returns the result is disabled or not.
   MODELAPI_EXPORT virtual bool isDisabled() const;
 
-  // Retuns the parameters of color definition in the resources config manager
+  // Returns the parameters of color definition in the resources config manager
   virtual void colorConfigInfo(std::string& theSection, std::string& theName,
     std::string& theDefault) {}