CGEM BOSS 6.6.5.h
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"
11#include "GaudiKernel/DataSvc.h"
13#include "GaudiKernel/MsgStream.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"
27
30#include "rdbModel/Rdb.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
CheckMYSQL(const std::string &name, ISvcLocator *pSvcLocator)
Definition CheckMySQL.cxx:4
StatusCode initialize()
StatusCode finalize()
StatusCode execute()