Public Types |
Public Member Functions |
Static Public Member Functions |
Protected Attributes |
Friends |
List of all members
SESegmentValidationTarget Class Reference
#include <SEValidationTarget.h>
Inherits SEValidationTarget.
Public Types | |
enum class | eComparisonType { None =0 , EqualToValue , EqualToSegment , GreaterThanValue , GreaterThanSegment , LessThanValue , LessThanSegment , TrendsToValue , TrendsToSegment , Range } |
Public Member Functions | |
SESegmentValidationTarget () | |
virtual | ~SESegmentValidationTarget ()=default |
void | Clear () override |
eComparisonType | GetComparisonType () const |
int | GetTargetSegment () const |
void | SetEqualToSegment (int segment) |
void | SetEqualToValue (double d) |
void | SetGreaterThanSegment (int segment) |
void | SetGreaterThanValue (double d) |
void | SetLessThanSegment (int segment) |
void | SetLessThanValue (double d) |
void | SetTrendsToSegment (int segment) |
void | SetTrendsToValue (double d) |
void | SetRange (double min, double max) |
Public Member Functions inherited from SEValidationTarget | |
virtual | ~SEValidationTarget ()=default |
virtual void | Clear () |
virtual bool | IsValid () |
std::string | GetHeader () const |
void | SetHeader (const std::string &h) |
std::string | GetReference () const |
void | SetReference (const std::string &c) |
std::string | GetNotes () const |
void | SetNotes (const std::string &n) |
double | GetTargetMaximum () const |
double | GetTargetMinimum () const |
double | GetTarget () const |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () const |
virtual void | SetLogger (Logger &logger) |
virtual void | Debug (std::string const &msg) const |
virtual void | Debug (std::stringstream &msg) const |
virtual void | Debug (std::ostream &msg) const |
virtual void | Info (std::string const &msg) const |
virtual void | Info (std::stringstream &msg) const |
virtual void | Info (const std::stringstream &msg) const |
virtual void | Info (std::ostream &msg) const |
virtual void | Warning (std::string const &msg) const |
virtual void | Warning (std::stringstream &msg) const |
virtual void | Warning (std::ostream &msg) const |
virtual void | Error (std::string const &msg) const |
virtual void | Error (std::stringstream &msg) const |
virtual void | Error (std::ostream &msg) const |
virtual void | Fatal (std::string const &msg) const |
virtual void | Fatal (std::stringstream &msg) const |
virtual void | Fatal (std::ostream &msg) const |
Static Public Member Functions | |
static bool | SerializeToString (const std::vector< const SESegmentValidationTarget * > &src, std::string &output, eSerializationFormat m, Logger *logger) |
static bool | SerializeToFile (const std::vector< const SESegmentValidationTarget * > &src, const std::string &filename, Logger *logger) |
static bool | SerializeFromString (const std::string &src, std::vector< SESegmentValidationTarget * > &dst, eSerializationFormat m, Logger *logger) |
static bool | SerializeFromFile (const std::string &filename, std::vector< SESegmentValidationTarget * > &dst, Logger *logger) |
Protected Attributes | |
eComparisonType | m_ComparisonType |
int | m_TargetSegment |
Protected Attributes inherited from SEValidationTarget | |
std::string | m_Header |
std::string | m_Reference |
std::string | m_Notes |
double | m_Target |
double | m_TargetMaximum |
double | m_TargetMinimum |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Friends | |
class | PBValidation |
Additional Inherited Members | |
Protected Member Functions inherited from SEValidationTarget | |
SEValidationTarget () | |
Member Enumeration Documentation
◆ eComparisonType
|
strong |
Constructor & Destructor Documentation
◆ SESegmentValidationTarget()
SESegmentValidationTarget::SESegmentValidationTarget | ( | ) |
◆ ~SESegmentValidationTarget()
|
virtualdefault |
Member Function Documentation
◆ Clear()
|
overridevirtual |
Reimplemented from SEValidationTarget.
◆ GetComparisonType()
|
inline |
◆ GetTargetSegment()
|
inline |
◆ SerializeFromFile()
|
static |
◆ SerializeFromString()
|
static |
◆ SerializeToFile()
|
static |
◆ SerializeToString()
|
static |
◆ SetEqualToSegment()
void SESegmentValidationTarget::SetEqualToSegment | ( | int | segment | ) |
◆ SetEqualToValue()
void SESegmentValidationTarget::SetEqualToValue | ( | double | d | ) |
◆ SetGreaterThanSegment()
void SESegmentValidationTarget::SetGreaterThanSegment | ( | int | segment | ) |
◆ SetGreaterThanValue()
void SESegmentValidationTarget::SetGreaterThanValue | ( | double | d | ) |
◆ SetLessThanSegment()
void SESegmentValidationTarget::SetLessThanSegment | ( | int | segment | ) |
◆ SetLessThanValue()
void SESegmentValidationTarget::SetLessThanValue | ( | double | d | ) |
◆ SetRange()
void SESegmentValidationTarget::SetRange | ( | double | min, |
double | max | ||
) |
◆ SetTrendsToSegment()
void SESegmentValidationTarget::SetTrendsToSegment | ( | int | segment | ) |
◆ SetTrendsToValue()
void SESegmentValidationTarget::SetTrendsToValue | ( | double | d | ) |
Friends And Related Function Documentation
◆ PBValidation
|
friend |
Member Data Documentation
◆ m_ComparisonType
|
protected |
◆ m_TargetSegment
|
protected |