Table listing HV-tuning database test types.
More...
#include <JDBSupportkit.hh>
Table listing HV-tuning database test types.
Definition at line 191 of file JDBSupportkit.hh.
JDATABASE::JDBTestTypesTuneHV::JDBTestTypesTuneHV |
( |
| ) |
|
|
inline |
Constructor.
Definition at line 196 of file JDBSupportkit.hh.
std::set< std::string > DBTestTypesTuneHV
const std::string& JDATABASE::JDBTestTypesTuneHV::operator() |
( |
const int |
version | ) |
const |
|
inline |
Get HV-tuning DB test type corresponding to given version number.
- Parameters
-
- Returns
- HV-tuning database test type
Definition at line 210 of file JDBSupportkit.hh.
221 THROW(JValueOutOfRange,
"JDBTestTypesTuneHV::operator(): No HV-tuning database test type corresponding to given version number \'" <<
version <<
"\'.");
std::set< std::string > DBTestTypesTuneHV
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
std::string to_string(const T &value)
Convert value to string.
const int JDATABASE::JDBTestTypesTuneHV::operator() |
( |
const std::string & |
testType | ) |
const |
|
inline |
Get version number corresponding to given HV-tuning DB test type.
- Parameters
-
testType | HV-tuning database test type |
- Returns
- version number
Definition at line 231 of file JDBSupportkit.hh.
237 if (i->compare(testType) == 0) {
239 const int pos = i->find(
'v') + 1;
241 return stoi(i->substr(pos));
245 THROW(JValueOutOfRange,
"JDBTestTypesTuneHV::operator(): Given HV-tuning database test type \'" << testType <<
"\' is invalid.");
std::set< std::string > DBTestTypesTuneHV
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
std::set<std::string> JDATABASE::JDBTestTypesTuneHV::DBTestTypesTuneHV |
|
protected |
The documentation for this struct was generated from the following file: