|
Operator Console
|
A templated struct that contains all the information for a single vector pass/fail variable. 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... | |
| vecEntry (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... | |
| vecEntry (void) | |
| default constructor More... | |
Public Attributes | |
| CString | group_name |
| The name to be displayed for the collection. More... | |
| CString | group_description |
| The description for the collection. More... | |
| std::vector< CString > | sub_names |
| Names to be displayed for each element of the variable. More... | |
| std::vector< CString > | sub_descriptions |
| Descriptions to be displayed for each element. More... | |
| std::vector< T > | value |
| A vector containing all the values of the 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 the information for a single vector pass/fail variable.
| void vecEntry< 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
| void vecEntry< 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 vecEntry< 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 AddSubVecEntry(), COperatorConsoleApp::ReadPassFail(), and COperatorConsoleApp::WritePassFail().
| std::string vecEntry< 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 vecEntry< T >::group_description |
The description for the collection.
If you want all values to have the same description, you can leave sub_descriptions empty and place the description in group_description
Referenced by AddSubVecEntry(), and CPassFailSettings::CPassFailSettings().
| CString vecEntry< T >::group_name |
The name to be displayed for the collection.
Referenced by AddSubVecEntry(), CPassFailSettings::CPassFailSettings(), CPassFail::OnBnClickedOk(), COperatorConsoleApp::ReadPassFail(), and COperatorConsoleApp::WritePassFail().
| std::vector< CString > vecEntry< T >::sub_descriptions |
Descriptions to be displayed for each element.
If you want all values to have the same description, you can leave sub_descriptions empty and place the description in group_description
Referenced by AddSubVecEntry().
| std::vector< CString > vecEntry< T >::sub_names |
Names to be displayed for each element of the variable.
Referenced by AddSubVecEntry().
| std::vector< T > vecEntry< T >::value |
A vector containing all the values of the variable.
Referenced by AddSubVecEntry(), CPassFailSettings::CPassFailSettings(), CPassFail::OnBnClickedOk(), COperatorConsoleApp::ReadPassFail(), and writeVecEntValueString().
1.8.6