#include <MonRunOutcomeDef.h>
Def for monitoring run outcomes
Definition at line 12 of file MonRunOutcomeDef.h.
◆ MonRunOutcomeDef()
MonRunOutcomeDef::MonRunOutcomeDef |
( |
| ) |
|
◆ ~MonRunOutcomeDef()
MonRunOutcomeDef::~MonRunOutcomeDef |
( |
| ) |
|
|
override |
◆ fetchAllDefs()
void MonRunOutcomeDef::fetchAllDefs |
( |
std::vector< MonRunOutcomeDef > * |
fillVec | ) |
|
|
protectednoexcept |
Definition at line 84 of file MonRunOutcomeDef.cc.
87 Statement* stmt =
m_conn->createStatement();
88 stmt->setSQL(
"SELECT def_id FROM mon_run_outcome_def ORDER BY def_id");
89 ResultSet* rset = stmt->executeQuery();
94 while (rset->next()) {
95 def.setByID(rset->getInt(1));
96 fillVec->push_back(
def);
98 }
catch (SQLException&
e) {
99 throw(std::runtime_error(
"MonRunOutcomeDef::fetchAllDefs: " +
e.getMessage()));
References spu::def(), and MillePedeFileConverter_cfg::e.
◆ fetchID()
int MonRunOutcomeDef::fetchID |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ getLongDesc()
string MonRunOutcomeDef::getLongDesc |
( |
| ) |
const |
◆ getShortDesc()
string MonRunOutcomeDef::getShortDesc |
( |
| ) |
const |
◆ operator!=()
◆ operator==()
◆ setByID()
void MonRunOutcomeDef::setByID |
( |
int |
id | ) |
|
|
overridevirtualnoexcept |
◆ setShortDesc()
void MonRunOutcomeDef::setShortDesc |
( |
std::string |
desc | ) |
|
◆ EcalCondDBInterface
◆ m_longDesc
std::string MonRunOutcomeDef::m_longDesc |
|
protected |
◆ m_shortDesc
std::string MonRunOutcomeDef::m_shortDesc |
|
protected |