14 using namespace jsoncollector;
38 edm::LogWarning(
"DataPointDefinition") <<
"Cannot read from JSON definition path -: " << defFilePath;
63 for (
unsigned int i = 0;
i <
size;
i++) {
void addLegendItem(std::string const &name, std::string const &type, std::string const &operation)
Value get(UInt index, const Value &defaultValue) const
static const std::string BINARYOR
virtual void deserialize(Json::Value &root)
OperationType getOperationFor(unsigned int index)
static const std::string SUM
static const std::string PARAM_NAME
Value & append(const Value &value)
Append value to array at the end.
UInt size() const
Number of values in array or object.
static bool getDataPointDefinitionFor(std::string &defFilePath, DataPointDefinition *dpd, const std::string *defaultGroup=nullptr)
std::vector< std::string > varNames_
static const std::string TYPE
static bool readStringFromFile(std::string const &filename, std::string &content)
static const std::string MERGE
virtual void serialize(Json::Value &root) const
std::vector< std::string > typeNames_
std::string defaultGroup_
static const std::string OPERATION
static const std::string CAT
static bool deserialize(JsonSerializable *pObj, std::string &input)
static const std::string LEGEND
std::string asString() const
static const std::string HISTO
static const std::string AVG
static const std::string DATA
void setDefaultGroup(std::string const &group)
tuple size
Write out results.
static const std::string SAME
std::vector< std::string > opNames_
string root
initialization