1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModelAPI_ResultParameter.h
4 // Created: 07 Jul 2014
5 // Author: Vitaly SMETANNIKOV
7 #ifndef MODELAPI_RESULTPARAMETER_H_
8 #define MODELAPI_RESULTPARAMETER_H_
11 #include <ModelAPI_Result.h>
13 /**\class ModelAPI_ResultParameter
15 * \brief The construction element result of a feature.
17 * Provides a shape that may be displayed in the viewer.
18 * Intermediate, light result that in many cases produces a result on the fly.
20 class ModelAPI_ResultParameter : public ModelAPI_Result
23 /// Returns the group identifier of this result
24 virtual std::string groupName()
29 /// Returns the group identifier of this result
30 inline static std::string group()
32 static std::string MY_GROUP = "Parameters";
36 inline static const std::string& VALUE()
38 static const std::string MY_VALUE_ID("Value");
42 inline static const std::string& STATE()
44 static const std::string MY_VALUE_ID("State");
48 virtual void initAttributes() = 0;
50 MODELAPI_EXPORT ~ModelAPI_ResultParameter();
54 //! Pointer on feature object
55 typedef std::shared_ptr<ModelAPI_ResultParameter> ResultParameterPtr;