/* * StatisticParamProperties.hh * * Created on: Nov 04, 2014 * Author: AKKA */ #ifndef STATISTICPARAMPROPERTIES_HH_ #define STATISTICPARAMPROPERTIES_HH_ #include #include #include namespace AMDA { namespace ParamOutputImpl { namespace Statistic { /** * @class FunctionProperties * @brief Function properties for a statistic request. * @details */ class FunctionProperties { public: FunctionProperties(); virtual ~FunctionProperties(); const std::string& getName() const; void setName(const std::string& name); std::map& getArgumentMap(); void addArgument (const std::string &name, const std::string& value); private: std::string _name; std::map _argumentMap; }; typedef std::vector FunctionPropertiesList; /** * @class ParamProperties * @brief Parameter properties for a statistic request. * @details */ class ParamProperties { public: ParamProperties(); virtual ~ParamProperties(); const std::string& getId() const; void setId(const std::string& id); int& getIndex(); void setIndex (int index); FunctionPropertiesList& getFunctionPropertiesList(); void addFunctionProperties(FunctionProperties *functionProperties); private: /** * parameter id */ std::string _id; /** * Parameter index */ int _index; /** * Statistic function list to apply to the parameter */ FunctionPropertiesList _functionList; }; } // namespace Download } // namespace ParamOutputImpl } // namespace AMDA #endif /* STATISTICPARAMPROPERTIES_HH_ */