#include <DataPoint.h>
Public Member Functions | |
void | addToData (std::string data) |
DataPoint () | |
DataPoint (std::string source, std::string definition, const std::vector< std::string > &data) | |
virtual void | deserialize (Json::Value &root) |
std::vector< std::string > | getData () const |
std::string | getDefinition () const |
std::string | getSource () const |
void | resetData () |
virtual void | serialize (Json::Value &root) const |
void | setDefinition (std::string definition) |
void | setSource (std::string source) |
virtual | ~DataPoint () |
Public Member Functions inherited from jsoncollector::JsonSerializable | |
virtual | ~JsonSerializable () |
Static Public Attributes | |
static const std::string | DATA = "data" |
static const std::string | DEFINITION = "definition" |
static const std::string | SOURCE = "source" |
Protected Attributes | |
std::vector< std::string > | data_ |
std::string | definition_ |
std::string | source_ |
Definition at line 17 of file DataPoint.h.
DataPoint::DataPoint | ( | ) |
Definition at line 18 of file DataPoint.cc.
jsoncollector::DataPoint::DataPoint | ( | std::string | source, |
std::string | definition, | ||
const std::vector< std::string > & | data | ||
) |
|
virtual |
Definition at line 26 of file DataPoint.cc.
|
inline |
Definition at line 50 of file DataPoint.h.
References data_.
Referenced by jsoncollector::ObjectMerger::csvToJson(), and jsoncollector::DataPointMonitor::snap().
|
virtual |
JSON deserialization procedure for this class
Implements jsoncollector::JsonSerializable.
Definition at line 36 of file DataPoint.cc.
References Json::Value::asString(), DATA, data_, DEFINITION, definition_, Json::Value::get(), i, Json::Value::isArray(), Json::Value::size(), findQualityFiles::size, SOURCE, and source_.
Referenced by FedRawDataInputSource::grabNextJsonFile().
|
inline |
Definition at line 40 of file DataPoint.h.
References data_.
Referenced by FedRawDataInputSource::grabNextJsonFile(), and serialize().
|
inline |
|
inline |
|
inline |
Definition at line 53 of file DataPoint.h.
References data_.
Referenced by jsoncollector::ObjectMerger::csvToJson(), and jsoncollector::DataPointMonitor::snap().
|
virtual |
JSON serialization procedure for this class
Implements jsoncollector::JsonSerializable.
Definition at line 29 of file DataPoint.cc.
References python.multivaluedict::append(), DATA, DEFINITION, getData(), getDefinition(), getSource(), i, and SOURCE.
|
inline |
Definition at line 47 of file DataPoint.h.
References definition_.
Referenced by jsoncollector::ObjectMerger::csvToJson(), and jsoncollector::DataPointMonitor::snap().
|
inline |
Definition at line 44 of file DataPoint.h.
References source, and source_.
Referenced by jsoncollector::FastMonitor::outputFullHistoDataPoint(), and jsoncollector::DataPointMonitor::snap().
|
static |
Definition at line 60 of file DataPoint.h.
Referenced by deserialize(), and serialize().
|
protected |
Definition at line 64 of file DataPoint.h.
Referenced by addToData(), deserialize(), getData(), and resetData().
|
static |
Definition at line 59 of file DataPoint.h.
Referenced by deserialize(), and serialize().
|
protected |
Definition at line 63 of file DataPoint.h.
Referenced by deserialize(), getDefinition(), and setDefinition().
|
static |
Definition at line 58 of file DataPoint.h.
Referenced by deserialize(), and serialize().
|
protected |
Definition at line 63 of file DataPoint.h.
Referenced by deserialize(), Config.Process::dumpConfig(), Config.Process::dumpPython(), getSource(), and setSource().