Salome HOME
Linux compilation and isPreviewNeeded method implementation.
[modules/shaper.git] / src / ModelAPI / ModelAPI_ResultParameter.h
index f4b4734c42878a5d06117dfefb31368c7419c48e..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
@@ -38,7 +39,15 @@ class ModelAPI_ResultParameter : public ModelAPI_Result
     return MY_VALUE_ID;
   }
 
-  MODELAPI_EXPORT virtual void initAttributes();
+  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();
 
 };