Operator Console
|
A templated struct that contains all information for a single, scalar pass/fail variable. More...
#include <PassFailSettings.h>
Public Member Functions | |
void | assign_value (const T &input, const T &badVal) |
A member function for conditionally assigning the variable 'value' to 'input'. More... | |
entry (void) | |
a default constructor More... | |
void | assign_value (const T &input, const T &badVal) |
A member function for conditionally assigning the variable 'value' to 'input'. More... | |
entry (void) | |
a default constructor More... | |
Public Attributes | |
CString | name |
the pass/fail variable (or key) name as given in the Imatest documentation More... | |
CString | description |
The description of this variable to be displayed. More... | |
T | value |
the value of the pass/fail variable More... | |
std::string | data_type |
an indicator for the data_type to be used by inifile() More... | |
bool | b_isUsed |
Indicates that this particular variable was found in the pass/fail file and thus should be displayed and kept up to date in the pass/fail file. More... | |
A templated struct that contains all information for a single, scalar pass/fail variable.
void entry< T >::assign_value | ( | const T & | input, |
const T & | badVal | ||
) |
A member function for conditionally assigning the variable 'value' to 'input'.
if 'input' is != the garbage value returned by inifile() when a variable is not found, then b_isUsed = true and value = input
Referenced by COperatorConsoleApp::ReadPassFail().
void entry< T >::assign_value | ( | const T & | input, |
const T & | badVal | ||
) |
A member function for conditionally assigning the variable 'value' to 'input'.
if 'input' is != the garbage value returned by inifile() when a variable is not found, then b_isUsed = true and value = input
bool entry< T >::b_isUsed |
Indicates that this particular variable was found in the pass/fail file and thus should be displayed and kept up to date in the pass/fail file.
Referenced by AddSubEntry(), COperatorConsoleApp::ReadPassFail(), and COperatorConsoleApp::WritePassFail().
std::string entry< T >::data_type |
an indicator for the data_type to be used by inifile()
This variable is used by inifile() for determining what data-type should be returned. Set equal to "i" for int, "d" for double, or "" (or "s") for string.
Referenced by CPassFailSettings::CPassFailSettings(), and COperatorConsoleApp::ReadPassFail().
CString entry< T >::description |
The description of this variable to be displayed.
Referenced by AddSubEntry(), CPassFailSettings::CPassFailSettings(), and COperatorConsoleApp::ReadPassFail().
CString entry< T >::name |
the pass/fail variable (or key) name as given in the Imatest documentation
Referenced by AddSubEntry(), CPassFailSettings::CPassFailSettings(), CPassFail::OnBnClickedOk(), COperatorConsoleApp::ReadPassFail(), and COperatorConsoleApp::WritePassFail().
T entry< T >::value |
the value of the pass/fail variable
Referenced by AddSubEntry(), CPassFailSettings::CPassFailSettings(), CPassFail::OnBnClickedOk(), COperatorConsoleApp::ReadPassFail(), and writeEntValueString().