CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoLuminosity/LumiProducer/interface/idDealer.h

Go to the documentation of this file.
00001 #ifndef RecoLuminosity_LumiProducer_idDealer_H
00002 #define RecoLuminosity_LumiProducer_idDealer_H
00003 #include <string>
00004 namespace coral{
00005   class ISchema;
00006 }
00007 namespace lumi{
00008   class idDealer{
00009   public:
00010     explicit idDealer( coral::ISchema& schema);
00011     unsigned long long getIDforTable( const std::string& tableName );
00012     unsigned long long generateNextIDForTable( const std::string& tableName, unsigned int interval=1);
00013   private:
00014     coral::ISchema& m_schema;
00015     std::string m_idtablecolumnName;
00016     std::string m_idtablecolumnType;
00017   };//cs IdDealer
00018 }//ns lumi
00019 #endif