5#include "GaudiKernel/Service.h"
15 virtual public Service
24 DatabaseSvc(
const std::string& name, ISvcLocator* sl );
32 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvInterface );
60 void SetDBFilePath(std::string dbFilePath);
61 std::string GetDBFilePath()
const {
return m_dbFilePath;}
65 int query(
const std::string& dbName,
const std::string& sql);
66 int query(
const std::string& dbName,
const std::string& sql,
76 std::string m_dbPasswd;
77 std::string m_dbFilePath;
79 bool m_dbReuseConnection;
int query(const std::string &dbName, const std::string &sql)
virtual StatusCode finalize()
DatabaseSvc(const std::string &name, ISvcLocator *sl)
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
virtual StatusCode initialize()
Forward and external declarations.