BOSS
7.1.0
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
IDatabaseSvc.h
Go to the documentation of this file.
1
#ifndef IDATABASESVC_H
2
#define IDATABASESVC_H
3
4
// Base classes
5
#include "GaudiKernel/IService.h"
6
#include <string>
7
#include <vector>
8
#include <map>
9
10
#include "
DatabaseSvc/DatabaseRecord.h
"
11
12
//static const InterfaceID IID_IDatabaseSvc("IDatabaseSvc", 1, 0);
13
class
IDatabaseSvc
:
virtual
public
IInterface
14
//class IDatabaseSvc : virtual public IService
15
{
16
17
public
:
18
/* Virtual destructor */
19
virtual
~IDatabaseSvc
() {};
20
21
public
:
22
//static const InterfaceID& interfaceID() { return IID_IDatabaseSvc; }
23
DeclareInterfaceID
(
IDatabaseSvc
, 1, 0);
24
static
const
std::string&
serviceInUse
() {
25
return
g_serviceInUse
;
26
};
27
28
virtual
int
query
(
const
std::string& dbName,
const
std::string& sql,
DatabaseRecordVector
& res)=0;
29
30
protected
:
31
32
static
std::string
g_serviceInUse
;
33
34
};
35
36
#endif
DatabaseRecord.h
DatabaseRecordVector
Definition:
DatabaseRecord.h:75
IDatabaseSvc
Definition:
IDatabaseSvc.h:15
IDatabaseSvc::g_serviceInUse
static std::string g_serviceInUse
Definition:
IDatabaseSvc.h:32
IDatabaseSvc::serviceInUse
static const std::string & serviceInUse()
Definition:
IDatabaseSvc.h:24
IDatabaseSvc::DeclareInterfaceID
DeclareInterfaceID(IDatabaseSvc, 1, 0)
IDatabaseSvc::~IDatabaseSvc
virtual ~IDatabaseSvc()
Definition:
IDatabaseSvc.h:19
IDatabaseSvc::query
virtual int query(const std::string &dbName, const std::string &sql, DatabaseRecordVector &res)=0
source
Database
DatabaseSvc
DatabaseSvc-00-01-02
DatabaseSvc
IDatabaseSvc.h
Generated by
1.9.6