Go to the documentation of this file.00001 #ifndef CondTools_DQM_ReadBase_h
00002 #define CondTools_DQM_ReadBase_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include <string>
00013
00014 #include "RelationalAccess/ConnectionService.h"
00015 #include "CoralBase/MessageStream.h"
00016
00017 namespace coral {
00018
00019 class ISessionProxy;
00020 }
00021
00022 class ReadBase {
00023 public:
00024 ReadBase();
00025 virtual ~ReadBase();
00026 virtual void run() = 0;
00027 void setVerbosityLevel( coral::MsgLevel level ) ;
00028 protected:
00029 coral::ISessionProxy* connect( const std::string& connectionString,
00030 const std::string& user,
00031 const std::string& password );
00032 private:
00033
00034 coral::ConnectionService m_connectionService;
00035 };
00036
00037 #endif