CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FEConfigBadXTInfo.h
Go to the documentation of this file.
1 #ifndef FECONFIGBADXTINFO_H
2 #define FECONFIGBADXTINFO_H
3 
4 #include <map>
5 #include <string>
6 
8 
9 class FEConfigBadXTInfo : public IODConfig {
10 public:
11  friend class EcalCondDBInterface;
13  ~FEConfigBadXTInfo() override;
14 
15  // User data methods
16  inline std::string getTable() override { return "FE_CONFIG_BadCrystals_INFO"; }
17 
18  inline void setId(int id) { m_ID = id; }
19  inline int getId() const { return m_ID; }
20 
21  // the tag is already in IODConfig
22 
23  inline void setVersion(int id) { m_version = id; }
24  inline int getVersion() const { return m_version; }
25  int fetchID() noexcept(false);
26 
27  int fetchNextId() noexcept(false);
28  void setParameters(const std::map<std::string, std::string>& my_keys_map);
29 
30 private:
31  void prepareWrite() noexcept(false) override;
32 
33  void writeDB() noexcept(false);
34 
35  void clear();
36 
37  void fetchData(FEConfigBadXTInfo* result) noexcept(false);
38 
39  // User data
40  int m_ID;
41  int m_version;
42 };
43 
44 #endif
void writeDB() noexcept(false)
uint16_t *__restrict__ id
int fetchNextId() noexcept(false)
~FEConfigBadXTInfo() override
tuple result
Definition: mps_fire.py:311
void setParameters(const std::map< std::string, std::string > &my_keys_map)
int fetchID() noexcept(false)
std::string getTable() override
void fetchData(FEConfigBadXTInfo *result) noexcept(false)
int getVersion() const
void setVersion(int id)
void prepareWrite() noexcept(false) override