CMS 3D CMS Logo

idDealer.h
Go to the documentation of this file.
1 #ifndef RecoLuminosity_LumiProducer_idDealer_H
2 #define RecoLuminosity_LumiProducer_idDealer_H
3 #include <string>
4 namespace coral {
5  class ISchema;
6 }
7 namespace lumi {
8  class idDealer {
9  public:
10  explicit idDealer(coral::ISchema& schema);
11  unsigned long long getIDforTable(const std::string& tableName);
12  unsigned long long generateNextIDForTable(const std::string& tableName, unsigned int interval = 1);
13 
14  private:
15  coral::ISchema& m_schema;
18  }; //cs IdDealer
19 } // namespace lumi
20 #endif
coral::ISchema & m_schema
Definition: idDealer.h:15
std::string m_idtablecolumnName
Definition: idDealer.h:16
Definition: Binary.h:9
std::string m_idtablecolumnType
Definition: idDealer.h:17