8 #include "../interface/DataPoint.h"
10 using namespace jsoncollector;
19 source_(
""), definition_(
"") {
23 source_(source), definition_(definition), data_(data) {
32 for (
unsigned int i = 0;
i <
getData().size();
i++)
41 for (
unsigned int i = 0;
i <
size;
i++) {
Value get(UInt index, const Value &defaultValue) const
static const std::string DEFINITION
virtual void serialize(Json::Value &root) const
static const std::string DATA
UInt size() const
Number of values in array or object.
std::vector< std::string > data_
std::string getDefinition() const
virtual void deserialize(Json::Value &root)
std::vector< std::string > getData() const
std::string asString() const
char data[epos_bytes_allocation]
std::string getSource() const
static std::string const source
tuple size
Write out results.
static const std::string SOURCE
string root
initialization