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

#include <IDatabaseSvc.h>

+ Inheritance diagram for IDatabaseSvc:

Public Member Functions

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

Static Public Member Functions

static const std::string & serviceInUse ()
 

Static Protected Attributes

static std::string g_serviceInUse = ""
 

Detailed Description

Definition at line 13 of file IDatabaseSvc.h.

Constructor & Destructor Documentation

◆ ~IDatabaseSvc()

virtual IDatabaseSvc::~IDatabaseSvc ( )
inlinevirtual

Definition at line 19 of file IDatabaseSvc.h.

19{};

Member Function Documentation

◆ DeclareInterfaceID()

IDatabaseSvc::DeclareInterfaceID ( IDatabaseSvc ,
1 ,
0  )

◆ query()

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

Referenced by HltConfigSvc::GenFileFromDatabase(), FieldDBUtil::ConnectionDB::getBeamEnergy(), FieldDBUtil::ConnectionDB::getBeamEnergy(), BeamEnergySvc::getBeamEnergyInfo(), RealDBUtil::ConnectionProvider::getcal(), DedxCurSvc::getDedxCurveInfo(), EmcSatuDeadEnSvc::getEmcSatuDeadEnSvcInfo(), EmcShEnCalibSvc::getEmcShEnCalibSvcInfo(), RealDBUtil::ConnectionProvider::getLumCurvePar(), MdcTunningSvc::getMdcTuningTableInfo(), RealDBUtil::ConnectionProvider::getReadBackgroundInfo(), 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(), ScanEnergySvc::getScanEnergySvcInfo(), CalibMySQLCnvSvc::getSftParVer(), EmcSatuDeadEnSvc::getSftParVer(), EmcShEnCalibSvc::getSftParVer(), TofEnergyCalibSvc::getSftParVer(), TofEnergyCalibSvc::getTofEnergyCalibSvcInfo(), TofQCorrSvc::getTofQCorrInfo(), RealDBUtil::ConnectionProvider::getTrgConfigInfo(), TestDbAlg::initialize(), MeasuredEcmsSvc::readDBTable(), MeasuredEcmsSvc::readDBTable(), ReadME::readMeasuredEcms(), and ReadME::readRunParams().

◆ serviceInUse()

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

Definition at line 24 of file IDatabaseSvc.h.

24 {
25 return g_serviceInUse;
26 };
static std::string g_serviceInUse

Member Data Documentation

◆ g_serviceInUse

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

Definition at line 32 of file IDatabaseSvc.h.

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


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