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
CheckMySQL.h
Go to the documentation of this file.
1
//$Header: /bes/bes/BossCvs/Calibration/CalibSvc/CalibROOTCnv/src/test/CheckMySQL.h,v 1.2 2011/02/17 05:12:53 maqm Exp $
2
#include <stdio.h>
3
#include "GaudiKernel/Algorithm.h"
4
#include "GaudiKernel/AlgFactory.h"
5
#include "GaudiKernel/IDataProviderSvc.h"
6
#include "GaudiKernel/Service.h"
7
#include "GaudiKernel/MsgStream.h"
8
#include "GaudiKernel/SmartDataPtr.h"
9
#include "
CalibData/Emc/EmcCalibData.h
"
10
#include "
CalibData/CalibModel.h
"
11
#include "GaudiKernel/DataSvc.h"
12
#include "
CalibDataSvc/ICalibRootSvc.h
"
13
#include "GaudiKernel/MsgStream.h"
14
#include "
CalibData/CalibModel.h
"
15
#include "
CalibData/CalibBase1.h
"
16
#include <time.h>
17
#include <stdio.h>
18
#include <string.h>
19
#include <mysql.h>
20
#include "TFile.h"
21
#include "TTree.h"
22
#include "TBuffer.h"
23
#include "
facilities/Util.h
"
24
#include "
facilities/Timestamp.h
"
25
#include "
rdbModel/Management/Manager.h
"
26
#include "
rdbModel/Management/XercesBuilder.h
"
27
28
#include "
rdbModel/Db/MysqlConnection.h
"
29
#include "
rdbModel/Db/MysqlResults.h
"
30
#include "
rdbModel/Rdb.h
"
31
#include "
rdbModel/RdbException.h
"
32
#include "
rdbModel/Tables/Assertion.h
"
33
#include "
rdbModel/Tables/Table.h
"
34
#include "
rdbModel/Tables/Column.h
"
35
36
/* enum eRet {
37
RETOk = 0,
38
RETBadCnfFile = 1,
39
RETBadHost = 2,
40
RETNoConnect = 3,
41
RETWrongState = 4,
42
RETBadValue = 5,
43
RETMySQLError = 6,
44
RETNoSchemaMatch = 7
45
};
46
*/
47
//#include "
48
//using namespace std;
49
/// Simple algorithm to test functioning of "the other" TDS
50
typedef
std::vector<std::string>
StringVector
;
51
class
CheckMYSQL
:
public
Algorithm {
52
53
public
:
54
CheckMYSQL
(
const
std::string& name, ISvcLocator* pSvcLocator);
55
56
StatusCode
initialize
();
57
58
StatusCode
execute
();
59
60
StatusCode
finalize
();
61
62
private
:
63
// Maybe something to say which kind of data to look up?
64
65
};
66
67
CalibBase1.h
CalibModel.h
Util.h
Assertion.h
StringVector
std::vector< std::string > StringVector
Simple algorithm to test functioning of "the other" TDS.
Definition:
CheckMySQL.h:50
Column.h
EmcCalibData.h
ICalibRootSvc.h
Manager.h
MysqlConnection.h
MysqlResults.h
RdbException.h
Rdb.h
Table.h
Timestamp.h
XercesBuilder.h
CheckMYSQL
Definition:
CheckMySQL.h:51
CheckMYSQL::initialize
StatusCode initialize()
Definition:
CheckMySQL.cxx:13
CheckMYSQL::finalize
StatusCode finalize()
Definition:
CheckMySQL.cxx:227
CheckMYSQL::execute
StatusCode execute()
Definition:
CheckMySQL.cxx:24
source
Calibration
CalibSvc
CalibROOTCnv
CalibROOTCnv-00-03-06
src
test
CheckMySQL.h
Generated by
1.9.6