#include <SETestErrorStatistics.h>

Inherits Loggable.

Public Member Functions

virtual ~SETestErrorStatistics ()
 
virtual void Reset ()
 
virtual void Clear ()
 
void SetPropertyName (const std::string &PropertyName)
 
std::string GetPropertyName () const
 
void SetComputedPropertyID (const std::string &ComputedPropertyID)
 
std::string GetComputedPropertyID () const
 
void SetExpectedPropertyID (const std::string &ExpectedPropertyID)
 
std::string GetExpectedPropertyID () const
 
void SetNumberOfErrors (int NumberOfErrors)
 
int GetNumberOfErrors () const
 
void SetMinimumError (double MinimumError)
 
double GetMinimumError () const
 
void SetMaximumError (double MaximumError)
 
double GetMaximumError () const
 
void SetAverageError (double AverageError)
 
double GetAverageError () const
 
void SetStandardDeviation (double StandardDeviation)
 
double GetStandardDeviation () const
 
void AddDifference (const std::string &difference)
 
const std::vector< std::string > * GetDifferences () const
 
bool HasPercentTolerancevsNumErrorsHistogram () const
 
SEFunctionGetPercentToleranceVsNumErrorsHistogram ()
 
void SetPercentToleranceVsNumErrorsHistogram (SEFunction *PercentToleranceVsNumErrors)
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () 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
 

Protected Member Functions

 SETestErrorStatistics (Logger *logger)
 

Protected Attributes

int m_NumberOfErrors
 
double m_MinimumError
 
double m_MaximumError
 
double m_AverageError
 
double m_StandardDeviation
 
double m_PercentTolerance
 
std::string m_PropertyName
 
std::string m_ComputedPropertyID
 
std::string m_ExpectedPropertyID
 
SEFunctionm_PercentToleranceVsNumErrorsHistogram
 
std::vector< std::string > m_Differences
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Private Attributes

friend SETestCase
 
friend SETestSuite
 

Friends

class PBTestReport
 

Constructor & Destructor Documentation

◆ SETestErrorStatistics()

SETestErrorStatistics::SETestErrorStatistics ( Logger logger)
protected

◆ ~SETestErrorStatistics()

SETestErrorStatistics::~SETestErrorStatistics ( )
virtual

Member Function Documentation

◆ AddDifference()

void SETestErrorStatistics::AddDifference ( const std::string &  difference)

◆ Clear()

void SETestErrorStatistics::Clear ( )
virtual

◆ GetAverageError()

double SETestErrorStatistics::GetAverageError ( ) const

◆ GetComputedPropertyID()

std::string SETestErrorStatistics::GetComputedPropertyID ( ) const

◆ GetDifferences()

const std::vector< std::string > * SETestErrorStatistics::GetDifferences ( ) const

◆ GetExpectedPropertyID()

std::string SETestErrorStatistics::GetExpectedPropertyID ( ) const

◆ GetMaximumError()

double SETestErrorStatistics::GetMaximumError ( ) const

◆ GetMinimumError()

double SETestErrorStatistics::GetMinimumError ( ) const

◆ GetNumberOfErrors()

int SETestErrorStatistics::GetNumberOfErrors ( ) const

◆ GetPercentToleranceVsNumErrorsHistogram()

SEFunction & SETestErrorStatistics::GetPercentToleranceVsNumErrorsHistogram ( )

◆ GetPropertyName()

std::string SETestErrorStatistics::GetPropertyName ( ) const

◆ GetStandardDeviation()

double SETestErrorStatistics::GetStandardDeviation ( ) const

◆ HasPercentTolerancevsNumErrorsHistogram()

bool SETestErrorStatistics::HasPercentTolerancevsNumErrorsHistogram ( ) const

◆ Reset()

void SETestErrorStatistics::Reset ( )
virtual

◆ SetAverageError()

void SETestErrorStatistics::SetAverageError ( double  AverageError)

◆ SetComputedPropertyID()

void SETestErrorStatistics::SetComputedPropertyID ( const std::string &  ComputedPropertyID)

◆ SetExpectedPropertyID()

void SETestErrorStatistics::SetExpectedPropertyID ( const std::string &  ExpectedPropertyID)

◆ SetMaximumError()

void SETestErrorStatistics::SetMaximumError ( double  MaximumError)

◆ SetMinimumError()

void SETestErrorStatistics::SetMinimumError ( double  MinimumError)

◆ SetNumberOfErrors()

void SETestErrorStatistics::SetNumberOfErrors ( int  NumberOfErrors)

◆ SetPercentToleranceVsNumErrorsHistogram()

void SETestErrorStatistics::SetPercentToleranceVsNumErrorsHistogram ( SEFunction PercentToleranceVsNumErrors)

◆ SetPropertyName()

void SETestErrorStatistics::SetPropertyName ( const std::string &  PropertyName)

◆ SetStandardDeviation()

void SETestErrorStatistics::SetStandardDeviation ( double  StandardDeviation)

Friends And Related Function Documentation

◆ PBTestReport

friend class PBTestReport
friend

Member Data Documentation

◆ m_AverageError

double SETestErrorStatistics::m_AverageError
protected

◆ m_ComputedPropertyID

std::string SETestErrorStatistics::m_ComputedPropertyID
protected

◆ m_Differences

std::vector<std::string> SETestErrorStatistics::m_Differences
protected

◆ m_ExpectedPropertyID

std::string SETestErrorStatistics::m_ExpectedPropertyID
protected

◆ m_MaximumError

double SETestErrorStatistics::m_MaximumError
protected

◆ m_MinimumError

double SETestErrorStatistics::m_MinimumError
protected

◆ m_NumberOfErrors

int SETestErrorStatistics::m_NumberOfErrors
protected

◆ m_PercentTolerance

double SETestErrorStatistics::m_PercentTolerance
protected

◆ m_PercentToleranceVsNumErrorsHistogram

SEFunction* SETestErrorStatistics::m_PercentToleranceVsNumErrorsHistogram
protected

◆ m_PropertyName

std::string SETestErrorStatistics::m_PropertyName
protected

◆ m_StandardDeviation

double SETestErrorStatistics::m_StandardDeviation
protected

◆ SETestCase

friend SETestErrorStatistics::SETestCase
private

◆ SETestSuite

friend SETestErrorStatistics::SETestSuite
private

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.