Salome HOME
Linux compilation and isPreviewNeeded method implementation.
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultParameter.h
index 9d877376faf115a084f3e8da227d1c48efd1eb9b..ad47ce9c709e20da56e03dc64e81785bccedbf58 100644 (file)
@@ -7,7 +7,8 @@
 #ifndef MODELAPI_RESULTPARAMETER_H_
 #define MODELAPI_RESULTPARAMETER_H_
 
-#include "ModelAPI_Result.h"
+#include <ModelAPI.h>
+#include <ModelAPI_Result.h>
 
 /**\class ModelAPI_ResultParameter
  * \ingroup DataModel
@@ -37,6 +38,17 @@ class ModelAPI_ResultParameter : public ModelAPI_Result
     static const std::string MY_VALUE_ID("Value");
     return MY_VALUE_ID;
   }
+
+  inline static const std::string& STATE()
+  {
+    static const std::string MY_VALUE_ID("State");
+    return MY_VALUE_ID;
+  }
+
+  virtual void initAttributes() = 0;
+
+  MODELAPI_EXPORT ~ModelAPI_ResultParameter();
+
 };
 
 //! Pointer on feature object