5#include "GaudiKernel/Service.h"
6#include "DatabaseSvc/IDatabaseSvc.h"
15 virtual public Service
32 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvInterface );
42#include "DatabaseSvc/DatabaseRecord.h"
43#include "DatabaseSvc/DbInterface.h"
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 queryInterface(const InterfaceID &riid, void **ppvInterface)
virtual StatusCode initialize()
virtual StatusCode finalize()
DatabaseSvc(const std::string &name, ISvcLocator *sl)
virtual StatusCode finalize()
int query(const std::string &dbName, const std::string &sql, DatabaseRecordVector &res)
virtual StatusCode initialize()
Forward and external declarations.