BOSS
7.0.4
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
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
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
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
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
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
InstallArea/include/DatabaseSvc/DatabaseSvc/SqliteInterface.h
Go to the documentation of this file.
1
#ifndef SqliteInterface_h
2
#define SqliteInterface_h
3
4
#include "
DbInterface.h
"
5
#include <sqlite3.h>
6
#include <string>
7
8
class
SqliteInterface
:
public
DbInterface
9
{
10
public
:
11
SqliteInterface
();
12
~SqliteInterface
();
13
14
int
connect
();
15
int
select_db
(std::string dbname);
16
int
query
(std::string dbname, std::string
query
);
17
int
query
(std::string dbname, std::string
query
,
DatabaseRecordVector
& records);
18
int
disconnect
();
19
20
protected
:
21
int
connect
(std::string fname);
22
23
private
:
24
sqlite3 *m_conn;
25
};
26
27
#endif
DbInterface.h
DatabaseRecordVector
Definition:
Database/DatabaseSvc/DatabaseSvc-00-00-26/DatabaseSvc/DatabaseRecord.h:75
DbInterface
Definition:
Database/DatabaseSvc/DatabaseSvc-00-00-26/DatabaseSvc/DbInterface.h:11
SqliteInterface
Definition:
Database/DatabaseSvc/DatabaseSvc-00-00-26/DatabaseSvc/SqliteInterface.h:9
SqliteInterface::query
int query(std::string dbname, std::string query)
SqliteInterface::disconnect
int disconnect()
SqliteInterface::connect
int connect()
SqliteInterface::select_db
int select_db(std::string dbname)
SqliteInterface::~SqliteInterface
~SqliteInterface()
SqliteInterface::query
int query(std::string dbname, std::string query, DatabaseRecordVector &records)
SqliteInterface::connect
int connect(std::string fname)
SqliteInterface::SqliteInterface
SqliteInterface()
source
InstallArea
include
DatabaseSvc
DatabaseSvc
SqliteInterface.h
Generated by
1.9.6