nidas v1.2.3
|
Problem is any issue detected in the data and statistics, distinguished by a kind id and a stream id, and an optionally including any related values. More...
Public Member Functions | |
Problem (const std::string &kind, const std::string &streamid) | |
Json::Value | json_value () |
std::string | printout () |
Return a one-line string enumerating this problem. | |
Static Public Member Functions | |
static Json::Value | asJsonArray (std::vector< Problem > &problems) |
Public Attributes | |
std::string | kind |
std::string | streamid |
Json::Value | values {Json::objectValue} |
Static Public Attributes | |
static const std::string | SAMPLE_RATE_MISMATCH { "sample-rate-mismatch" } |
static const std::string | MISSING_VALUES { "missing-values" } |
static const std::string | NO_SAMPLES { "no-samples" } |
Problem is any issue detected in the data and statistics, distinguished by a kind id and a stream id, and an optionally including any related values.
{ "problem-class": "sample-rate-mismatch", "streamid": stream-id }
References nidas::core::getSample().
Referenced by DataStats::jsonReport().
|
inline |
Return a one-line string enumerating this problem.
References nidas::core::getSample(), kind, streamid, and values.
std::string Problem::kind |
Referenced by json_value(), and printout().
Referenced by SampleCounter::jsonStats().
Referenced by SampleCounter::jsonStats().
Referenced by SampleCounter::jsonStats().
std::string Problem::streamid |
Referenced by json_value(), and printout().
Json::Value Problem::values {Json::objectValue} |
Referenced by json_value(), and printout().