SEValidationTarget.h
48 enum class eComparisonType { None=0, EqualToValue, EqualToSegment, GreaterThanValue, GreaterThanSegment,
53 static bool SerializeToString(const std::vector<const SESegmentValidationTarget*>& src, std::string& output, eSerializationFormat m, Logger* logger);
54 static bool SerializeToFile(const std::vector<const SESegmentValidationTarget*>& src, const std::string& filename, Logger* logger);
55 static bool SerializeFromString(const std::string& src, std::vector<SESegmentValidationTarget*>& dst, eSerializationFormat m, Logger* logger);
56 static bool SerializeFromFile(const std::string& filename, std::vector<SESegmentValidationTarget*>& dst, Logger* logger);
90 static bool SerializeToString(const std::vector<const SETimeSeriesValidationTarget*>&src, std::string& output, eSerializationFormat m, Logger* logger);
91 static bool SerializeToFile(const std::vector<const SETimeSeriesValidationTarget*>& src, const std::string& filename, Logger* logger);
92 static bool SerializeFromString(const std::string& src, std::vector<SETimeSeriesValidationTarget*>& dst, eSerializationFormat m, Logger* logger);
93 static bool SerializeFromFile(const std::string& filename, std::vector<SETimeSeriesValidationTarget*>& dst, Logger* logger);
Definition: Logger.h:23
Definition: Logger.h:71
Definition: PBValidation.h:12
static bool SerializeFromString(const std::string &src, std::vector< SESegmentValidationTarget * > &dst, eSerializationFormat m, Logger *logger)
Definition: PBValidation.cpp:124
static bool SerializeFromFile(const std::string &filename, std::vector< SESegmentValidationTarget * > &dst, Logger *logger)
Definition: PBValidation.cpp:132
static bool SerializeToFile(const std::vector< const SESegmentValidationTarget * > &src, const std::string &filename, Logger *logger)
Definition: PBValidation.cpp:161
static bool SerializeToString(const std::vector< const SESegmentValidationTarget * > &src, std::string &output, eSerializationFormat m, Logger *logger)
Definition: PBValidation.cpp:153
Definition: SEValidationTarget.h:45
eComparisonType m_ComparisonType
Definition: SEValidationTarget.h:74
int GetTargetSegment() const
Definition: SEValidationTarget.h:61
virtual ~SESegmentValidationTarget()=default
eComparisonType GetComparisonType() const
Definition: SEValidationTarget.h:59
Definition: SEValidationTarget.h:79
eComparisonType m_ComparisonType
Definition: SEValidationTarget.h:110
eTargetType GetTargetType() const
Definition: SEValidationTarget.h:95
eComparisonType GetComparisonType() const
Definition: SEValidationTarget.h:96
virtual ~SETimeSeriesValidationTarget()=default
std::vector< double > m_Data
Definition: SEValidationTarget.h:114
double m_ComparisonValue
Definition: SEValidationTarget.h:115
double GetDataValue() const
Definition: SEValidationTarget.h:105
eTargetType m_TargetType
Definition: SEValidationTarget.h:109
std::vector< double > & GetData()
Definition: SEValidationTarget.h:106
Definition: SEValidationTarget.h:11
virtual ~SEValidationTarget()=default
double GetTargetMaximum() const
Definition: SEValidationTarget.h:30
double GetTargetMinimum() const
Definition: SEValidationTarget.h:31
void SetReference(const std::string &c)
Definition: SEValidationTarget.h:25
void SetHeader(const std::string &h)
Definition: SEValidationTarget.h:22