BOSS
7.0.7
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
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
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
MysqlInterface.h
Go to the documentation of this file.
1
#ifndef MysqlInterface_h
2
#define MysqlInterface_h
3
4
#include "
DatabaseSvc/DbInterface.h
"
5
#include <mysql.h>
6
7
class
MysqlInterface
:
public
DbInterface
8
{
9
public
:
10
MysqlInterface
();
11
~MysqlInterface
();
12
13
int
connect
();
14
int
select_db
(std::string dbname);
15
int
query
(std::string dbname, std::string
query
);
16
int
query
(std::string dbname, std::string
query
,
DatabaseRecordVector
& records);
17
int
disconnect
();
18
19
protected
:
20
int
connect
(std::string host, std::string user, std::string passwd,
int
port=3306);
21
22
private
:
23
MYSQL
* m_conn;
24
};
25
26
#endif
DbInterface.h
MYSQL
struct st_mysql MYSQL
Definition:
MysqlConnection.h:11
DatabaseRecordVector
Definition:
DatabaseRecord.h:75
DbInterface
Definition:
DbInterface.h:11
MysqlInterface
Definition:
MysqlInterface.h:8
MysqlInterface::query
int query(std::string dbname, std::string query)
Definition:
MysqlInterface.cxx:74
MysqlInterface::connect
int connect()
Definition:
MysqlInterface.cxx:13
MysqlInterface::MysqlInterface
MysqlInterface()
Definition:
MysqlInterface.cxx:9
MysqlInterface::disconnect
int disconnect()
Definition:
MysqlInterface.cxx:229
MysqlInterface::~MysqlInterface
~MysqlInterface()
Definition:
MysqlInterface.cxx:11
MysqlInterface::select_db
int select_db(std::string dbname)
Definition:
MysqlInterface.cxx:56
source
Database
DatabaseSvc
DatabaseSvc-00-00-26
DatabaseSvc
MysqlInterface.h
Generated by
1.9.6