CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MODDCCOperationDat.h
Go to the documentation of this file.
1 #ifndef MODDCCOPERATIONDAT_H
2 #define MODDCCOPERATIONDAT_H
3 
4 #include <map>
5 #include <stdexcept>
6 
10 
11 class MODDCCOperationDat : public IDataItem {
12  public:
13  friend class EcalCondDBInterface;
16 
17  // User data methods
18  inline std::string getTable() { return "OD_DCC_OPERATION_DAT"; }
19 
20  inline void setOperation(std::string x) { m_word = x; }
21  inline std::string getOperation() const { return m_word; }
22 
23  private:
24  void prepareWrite()
25  throw(std::runtime_error);
26 
28  throw(std::runtime_error);
29 
31  throw(std::runtime_error);
32 
33 
34 
35  void fetchData(std::map< EcalLogicID, MODDCCOperationDat >* fillMap, MODRunIOV* iov)
36  throw(std::runtime_error);
37 
38  // User data
39  std::string m_word;
40 
41 };
42 
43 #endif
std::string getOperation() const
void writeDB(const EcalLogicID *ecid, const MODDCCOperationDat *item, MODRunIOV *iov)
void writeArrayDB(const std::map< EcalLogicID, MODDCCOperationDat > *data, MODRunIOV *iov)
std::string getTable()
tuple iov
Definition: o2o.py:307
void fetchData(std::map< EcalLogicID, MODDCCOperationDat > *fillMap, MODRunIOV *iov)
string const
Definition: compareJSON.py:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void setOperation(std::string x)
void fillMap(Registry *reg, regmap_type &fillme)
Definition: Registry.cc:24
x
Definition: VDTMath.h:216