BOSS 6.6.4.p01
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()

◆ 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: