BOSS 7.0.3
BESIII Offline Software System
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
50typedef std::vector<std::string> StringVector;
51class CheckMYSQL : public Algorithm {
52
53public:
54 CheckMYSQL(const std::string& name, ISvcLocator* pSvcLocator);
55
56 StatusCode initialize();
57
58 StatusCode execute();
59
60 StatusCode finalize();
61
62private:
63 // Maybe something to say which kind of data to look up?
64
65};
66
67
std::vector< std::string > StringVector
Simple algorithm to test functioning of "the other" TDS.
Definition: CheckMySQL.h:50
StatusCode initialize()
Definition: CheckMySQL.cxx:13
StatusCode finalize()
Definition: CheckMySQL.cxx:227
StatusCode execute()
Definition: CheckMySQL.cxx:24