test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~MonRunOutcomeDef();
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() throw(std::runtime_error);
27  void setByID(int id) throw(std::runtime_error);
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) throw(std::runtime_error);
39 };
40 
41 #endif
std::string getShortDesc() const
std::string m_shortDesc
void setByID(int id)
void setShortDesc(std::string desc)
tuple d
Definition: ztail.py:151
std::string getLongDesc() const
void fetchAllDefs(std::vector< MonRunOutcomeDef > *fillVec)
bool operator!=(const MonRunOutcomeDef &d) const
Definition: IDef.h:11
virtual ~MonRunOutcomeDef()
std::string m_longDesc
string const
Definition: compareJSON.py:14