BOSS 7.1.3
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

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