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_
10 #include "ModelAPI_Result.h"
12 /**\class ModelAPI_ResultParameter
14 * \brief The construction element result of a feature.
16 * Provides a shape that may be displayed in the viewer.
17 * Intermediate, light result that in many cases produces a result on the fly.
19 class ModelAPI_ResultParameter : public ModelAPI_Result
22 /// Returns the group identifier of this result
23 virtual std::string groupName()
28 /// Returns the group identifier of this result
29 inline static std::string group()
31 static std::string MY_GROUP = "Parameters";
35 inline static const std::string& VALUE()
37 static const std::string MY_VALUE_ID("Value");
41 inline static const std::string& STATE()
43 static const std::string MY_VALUE_ID("State");
47 virtual void initAttributes() = 0;
51 //! Pointer on feature object
52 typedef std::shared_ptr<ModelAPI_ResultParameter> ResultParameterPtr;