Operator Console
|
A templated struct that contains all information for a single min-max variable pair. More...
#include <PassFailSettings.h>
Public Member Functions | |
void | assign_value (const std::vector< T > &input, const T &badVal) |
A member function for conditionally assigning the variable 'value' to 'input'. More... | |
minMaxEntry (void) | |
default constructor More... | |
void | assign_value (const std::vector< T > &input, const T &badVal) |
A member function for conditionally assigning the variable 'value' to 'input'. More... | |
minMaxEntry (void) | |
default constructor More... | |
Public Attributes | |
CString | group_name |
The overall name for the pair. More... | |
CString | min_name |
The name displayed for the min entry. More... | |
CString | max_name |
The name displayed for the max entry. More... | |
CString | min_description |
The description displayed for the min variable. More... | |
CString | max_description |
The description displayed for the max variable. More... | |
T | min_val |
The value for the min variable. More... | |
T | max_val |
The value for the max 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 min-max variable pair.
|
inline |
default constructor
|
inline |
default constructor
void minMaxEntry< T >::assign_value | ( | const std::vector< 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 minMaxEntry< T >::assign_value | ( | const std::vector< 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 minMaxEntry< 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 AddSubMinMaxEntry(), and COperatorConsoleApp::WritePassFail().
std::string minMaxEntry< 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 minMaxEntry< T >::group_name |
The overall name for the pair.
Referenced by AddSubMinMaxEntry(), CPassFailSettings::CPassFailSettings(), CPassFail::OnBnClickedOk(), COperatorConsoleApp::ReadPassFail(), and COperatorConsoleApp::WritePassFail().
CString minMaxEntry< T >::max_description |
The description displayed for the max variable.
Referenced by AddSubMinMaxEntry(), and CPassFailSettings::CPassFailSettings().
CString minMaxEntry< T >::max_name |
The name displayed for the max entry.
Note that an MFC property grid will not display a description for the group
Referenced by AddSubMinMaxEntry(), and CPassFailSettings::CPassFailSettings().
T minMaxEntry< T >::max_val |
The value for the max variable.
Referenced by AddSubMinMaxEntry(), CPassFailSettings::CPassFailSettings(), CPassFail::OnBnClickedOk(), and writeMinMaxEntValueString().
CString minMaxEntry< T >::min_description |
The description displayed for the min variable.
Referenced by AddSubMinMaxEntry(), and CPassFailSettings::CPassFailSettings().
CString minMaxEntry< T >::min_name |
The name displayed for the min entry.
Note that an MFC property grid will not display a description for the group
Referenced by AddSubMinMaxEntry(), and CPassFailSettings::CPassFailSettings().
T minMaxEntry< T >::min_val |
The value for the min variable.
Referenced by AddSubMinMaxEntry(), CPassFailSettings::CPassFailSettings(), CPassFail::OnBnClickedOk(), and writeMinMaxEntValueString().