CMS 3D CMS Logo

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;
15  ~MODDCCOperationDat() override;
16 
17  // User data methods
18  inline std::string getTable() override { 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() noexcept(false) override;
25 
26  void writeDB(const EcalLogicID* ecid, const MODDCCOperationDat* item, MODRunIOV* iov) noexcept(false);
27 
29 
30  void fetchData(std::map<EcalLogicID, MODDCCOperationDat>* fillMap, MODRunIOV* iov) noexcept(false);
31 
32  // User data
33  std::string m_word;
34 };
35 
36 #endif
void writeDB(const EcalLogicID *ecid, const MODDCCOperationDat *item, MODRunIOV *iov) noexcept(false)
void prepareWrite() noexcept(false) override
void writeArrayDB(const std::map< EcalLogicID, MODDCCOperationDat > *data, MODRunIOV *iov) noexcept(false)
std::string getOperation() const
std::string getTable() override
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
void setOperation(std::string x)
void fetchData(std::map< EcalLogicID, MODDCCOperationDat > *fillMap, MODRunIOV *iov) noexcept(false)
~MODDCCOperationDat() override