|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
Comparison report for single data point. More...
Public Member Functions | |
| ComparisonData (bool isPassed, const std::string &variableName, const std::string &variableValue, const std::string &variableValueReference, const NumA::Differences &differences, const std::string &objectInfo) | |
| Constructor. More... | |
| virtual | ~ComparisonData () |
| Destructor. More... | |
| std::string | toString () const |
| Return a pre-formatted characters string for output visualization of class member's values. More... | |
| bool | isComparisonPassed () const |
| Check if the comparison is passed. More... | |
| void | setComparisonPassed (bool isComparisonPassed) |
| Set if the comparison is passed. More... | |
| const std::string & | getVariableName () const |
| Get variable name. More... | |
| void | setVariableName (const std::string &variableName) |
| Set variable name. More... | |
| const std::string & | getVariableValue () const |
| Get variable value. More... | |
| void | setVariableValue (const std::string &variableValue) |
| Set variable value. More... | |
| const std::string & | getVariableValueReference () const |
| Get variable value reference. More... | |
| void | setVariableValueReference (const std::string &variableValueReference) |
| Set variable value reference. More... | |
| const NumA::Differences & | getDifferences () const |
| Get differences. More... | |
| void | setDifferences (const NumA::Differences &differences) |
| Set differences. More... | |
| const std::string & | getObjectInfo () const |
| Get object info. More... | |
| void | setObjectInfo (const std::string &objectInfo) |
| Set object info. More... | |
Private Attributes | |
| bool | m_isComparisonPassed |
| Boolean value indicating if the comparison is passed. More... | |
| std::string | m_variableName |
| Name of variable. More... | |
| std::string | m_variableValue |
| Value of variable. More... | |
| std::string | m_variableValueReference |
| Reference value of variable. More... | |
| NumA::Differences | m_differences |
| Difference. More... | |
| std::string | m_objectInfo |
| Information on object being compared. More... | |
Comparison report for single data point.
This class stores a comparison result for a single data point.
| PARTONS::ComparisonData::ComparisonData | ( | bool | isPassed, |
| const std::string & | variableName, | ||
| const std::string & | variableValue, | ||
| const std::string & | variableValueReference, | ||
| const NumA::Differences & | differences, | ||
| const std::string & | objectInfo | ||
| ) |
Constructor.
| isPassed | Boolean value indicating if the comparison is passed. |
| variableName | Name of variable. |
| variableValue | Value of variable. |
| variableValueReference | Reference value of variable. |
| differences | Difference. |
| objectInfo | Information on object being compared. |
|
virtual |
Destructor.
| const NumA::Differences & PARTONS::ComparisonData::getDifferences | ( | ) | const |
Get differences.
| const std::string & PARTONS::ComparisonData::getObjectInfo | ( | ) | const |
Get object info.
| const std::string & PARTONS::ComparisonData::getVariableName | ( | ) | const |
Get variable name.
| const std::string & PARTONS::ComparisonData::getVariableValue | ( | ) | const |
Get variable value.
| const std::string & PARTONS::ComparisonData::getVariableValueReference | ( | ) | const |
Get variable value reference.
| bool PARTONS::ComparisonData::isComparisonPassed | ( | ) | const |
Check if the comparison is passed.
| void PARTONS::ComparisonData::setComparisonPassed | ( | bool | isComparisonPassed | ) |
Set if the comparison is passed.
| void PARTONS::ComparisonData::setDifferences | ( | const NumA::Differences & | differences | ) |
Set differences.
| void PARTONS::ComparisonData::setObjectInfo | ( | const std::string & | objectInfo | ) |
Set object info.
| void PARTONS::ComparisonData::setVariableName | ( | const std::string & | variableName | ) |
Set variable name.
| void PARTONS::ComparisonData::setVariableValue | ( | const std::string & | variableValue | ) |
Set variable value.
| void PARTONS::ComparisonData::setVariableValueReference | ( | const std::string & | variableValueReference | ) |
Set variable value reference.
| std::string PARTONS::ComparisonData::toString | ( | ) | const |
Return a pre-formatted characters string for output visualization of class member's values.
|
private |
Difference.
|
private |
Boolean value indicating if the comparison is passed.
|
private |
Information on object being compared.
|
private |
Name of variable.
|
private |
Value of variable.
|
private |
Reference value of variable.