Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:34

0001 #ifndef RecoLuminosity_LumiProducer_idDealer_H
0002 #define RecoLuminosity_LumiProducer_idDealer_H
0003 #include <string>
0004 namespace coral {
0005   class ISchema;
0006 }
0007 namespace lumi {
0008   class idDealer {
0009   public:
0010     explicit idDealer(coral::ISchema& schema);
0011     unsigned long long getIDforTable(const std::string& tableName);
0012     unsigned long long generateNextIDForTable(const std::string& tableName, unsigned int interval = 1);
0013 
0014   private:
0015     coral::ISchema& m_schema;
0016     std::string m_idtablecolumnName;
0017     std::string m_idtablecolumnType;
0018   };  //cs IdDealer
0019 }  // namespace lumi
0020 #endif