CMS 3D CMS Logo

MonRunOutcomeDef.h
Go to the documentation of this file.
1 #ifndef MONRUNOUTCOMEDEF_H
2 #define MONRUNOUTCOMEDEF_H
3 
4 #include <string>
5 #include <stdexcept>
6 
8 
12 class MonRunOutcomeDef : public IDef {
13 public:
14  friend class EcalCondDBInterface;
15 
17  ~MonRunOutcomeDef() override;
18 
19  // Methods for user data
20  std::string getShortDesc() const;
21  void setShortDesc(std::string desc);
22 
23  std::string getLongDesc() const;
24 
25  // Methods from IUniqueDBObject
26  int fetchID() noexcept(false) override;
27  void setByID(int id) noexcept(false) override;
28 
29  // Operators
30  inline bool operator==(const MonRunOutcomeDef &d) const { return m_shortDesc == d.m_shortDesc; }
31  inline bool operator!=(const MonRunOutcomeDef &d) const { return m_shortDesc != d.m_shortDesc; }
32 
33 protected:
34  // User data for this def
37 
38  void fetchAllDefs(std::vector<MonRunOutcomeDef> *fillVec) noexcept(false);
39 };
40 
41 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
IDef
Definition: IDef.h:11
funct::false
false
Definition: Factorize.h:34
MonRunOutcomeDef::fetchID
int fetchID() noexcept(false) override
Definition: MonRunOutcomeDef.cc:30
watchdog.const
const
Definition: watchdog.py:83
Utilities.operator
operator
Definition: Utilities.py:24
MonRunOutcomeDef::getShortDesc
std::string getShortDesc() const
Definition: MonRunOutcomeDef.cc:19
MonRunOutcomeDef::getLongDesc
std::string getLongDesc() const
Definition: MonRunOutcomeDef.cc:28
MonRunOutcomeDef::m_longDesc
std::string m_longDesc
Definition: MonRunOutcomeDef.h:36
MonRunOutcomeDef::operator!=
bool operator!=(const MonRunOutcomeDef &d) const
Definition: MonRunOutcomeDef.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MonRunOutcomeDef::m_shortDesc
std::string m_shortDesc
Definition: MonRunOutcomeDef.h:35
MonRunOutcomeDef::fetchAllDefs
void fetchAllDefs(std::vector< MonRunOutcomeDef > *fillVec) noexcept(false)
Definition: MonRunOutcomeDef.cc:84
MonRunOutcomeDef::setByID
void setByID(int id) noexcept(false) override
Definition: MonRunOutcomeDef.cc:60
MonRunOutcomeDef::~MonRunOutcomeDef
~MonRunOutcomeDef() override
Definition: MonRunOutcomeDef.cc:17
ztail.d
d
Definition: ztail.py:151
IDef.h
MonRunOutcomeDef::MonRunOutcomeDef
MonRunOutcomeDef()
Definition: MonRunOutcomeDef.cc:9
MonRunOutcomeDef
Definition: MonRunOutcomeDef.h:12
MonRunOutcomeDef::setShortDesc
void setShortDesc(std::string desc)
Definition: MonRunOutcomeDef.cc:21