BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
IDatabaseSvc Class Referenceabstract

#include <IDatabaseSvc.h>

+ Inheritance diagram for IDatabaseSvc:

Public Member Functions

virtual ~IDatabaseSvc ()
 
virtual int query (const std::string &dbName, const std::string &sql, DatabaseRecordVector &res)=0
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 
static const std::string & serviceInUse ()
 

Static Protected Attributes

static std::string g_serviceInUse = ""
 

Detailed Description

Definition at line 14 of file IDatabaseSvc.h.

Constructor & Destructor Documentation

◆ ~IDatabaseSvc()

virtual IDatabaseSvc::~IDatabaseSvc ( )
inlinevirtual

Definition at line 19 of file IDatabaseSvc.h.

19{};

Member Function Documentation

◆ interfaceID()

static const InterfaceID & IDatabaseSvc::interfaceID ( )
inlinestatic

Definition at line 22 of file IDatabaseSvc.h.

22{ return IID_IDatabaseSvc; }

◆ query()

virtual int IDatabaseSvc::query ( const std::string &  dbName,
const std::string &  sql,
DatabaseRecordVector res 
)
pure virtual

Implemented in DatabaseSvc.

Referenced by HltConfigSvc::GenFileFromDatabase(), FieldDBUtil::ConnectionDB::getBeamEnergy(), BeamEnergySvc::getBeamEnergyInfo(), RealDBUtil::ConnectionProvider::getcal(), DedxCurSvc::getDedxCurveInfo(), EmcShEnCalibSvc::getEmcShEnCalibSvcInfo(), RealDBUtil::ConnectionProvider::getLumCurvePar(), MdcTunningSvc::getMdcTuningTableInfo(), RealDBUtil::ConnectionProvider::getReadBackgroundInfo(), RealDBUtil::ConnectionProvider::getReadBunchInfo(), calibUtil::Metadata::getReadCorrectedETSInfo(), calibUtil::Metadata::getReadDedxInfo(), calibUtil::Metadata::getReadDedxSimInfo(), calibUtil::Metadata::getReadEMCInfo(), calibUtil::Metadata::getReadEsTimeInfo(), calibUtil::Metadata::getReadEstTofInfo(), calibUtil::Metadata::getReadInjSigIntervalInfo(), calibUtil::Metadata::getReadInjSigTimeInfo(), RealDBUtil::ConnectionProvider::getReadLumInfo(), calibUtil::Metadata::getReadMdcAlignInfo(), calibUtil::Metadata::getReadMdcDataConstInfo(), calibUtil::Metadata::getReadMDCInfo(), calibUtil::Metadata::getReadMUCInfo(), calibUtil::Metadata::getReadOffEvtFilterInfo(), FieldDBUtil::ConnectionDB::getReadSC_MagnetInfo(), calibUtil::Metadata::getReadTOFInfo(), calibUtil::Metadata::getReadTofQElecInfo(), calibUtil::Metadata::getReadTofSimInfo(), RealDBUtil::ConnectionProvider::getReadTofThreshInfo(), RealDBUtil::ConnectionProvider::getReadTrgTableInfo(), MeasuredEcmsSvc::getRecord(), RealDBUtil::ConnectionProvider::getRunInfo(), CalibMySQLCnvSvc::getSftParVer(), EmcShEnCalibSvc::getSftParVer(), TofEnergyCalibSvc::getSftParVer(), TofEnergyCalibSvc::getTofEnergyCalibSvcInfo(), TofQCorrSvc::getTofQCorrInfo(), RealDBUtil::ConnectionProvider::getTrgConfigInfo(), TestDbAlg::initialize(), MeasuredEcmsSvc::readDBTable(), ReadME::readMeasuredEcms(), and ReadME::readRunParams().

◆ serviceInUse()

static const std::string & IDatabaseSvc::serviceInUse ( )
inlinestatic

Definition at line 23 of file IDatabaseSvc.h.

23 {
24 return g_serviceInUse;
25 };
static std::string g_serviceInUse
Definition: IDatabaseSvc.h:31

Member Data Documentation

◆ g_serviceInUse

std::string IDatabaseSvc::g_serviceInUse = ""
staticprotected

Definition at line 31 of file IDatabaseSvc.h.

Referenced by DatabaseSvc::DatabaseSvc(), DatabaseSvc::initialize(), and serviceInUse().


The documentation for this class was generated from the following files: