8 #ifndef DATAPOINTDEFINITION_H_
9 #define DATAPOINTDEFINITION_H_
16 namespace jsoncollector {
void addLegendItem(std::string const &name, std::string const &type, std::string const &operation)
void serialize(Json::Value &root) const override
std::vector< std::string > const & getOperations() const
static const std::string BINARYOR
~DataPointDefinition() override
static const std::string ADLER32
static const std::string SUM
std::string & getDefFilePath()
static const std::string PARAM_NAME
std::vector< std::string > const & getNames() const
std::string const & getDefFilePath() const
static bool getDataPointDefinitionFor(std::string &defFilePath, DataPointDefinition *dpd, const std::string *defaultGroup=nullptr)
std::vector< std::string > varNames_
static const std::string TYPE
static const std::string MERGE
std::vector< std::string > typeNames_
std::string defaultGroup_
static const std::string OPERATION
static const std::string CAT
static const std::string LEGEND
static const std::string HISTO
OperationType getOperationFor(unsigned int index) const
static const std::string AVG
static const std::string DATA
void deserialize(Json::Value &root) override
void setDefaultGroup(std::string const &group)
static const std::string SAME
std::vector< std::string > opNames_