BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
ReadRuntripFromDb.h
Go to the documentation of this file.
1#ifndef MdcTripSvc_ReadRuntripFromDb_H
2#define MdcTripSvc_ReadRuntripFromDb_H
3
4#include <mysql/mysql.h>
5#include <string>
6#include <vector>
7#include <stdio.h>
8#include <iostream>
9
10using namespace std;
11
13
14 public:
15
18
19 string gettimest(int i);
20 string gettimend(int i);
21 int getstSize();
22 int getndSize();
23 void ReadDb(int run);
24 bool isRunTripped();
25
26 private:
27 MYSQL* OpenDb() const;
28 void CloseDb(MYSQL* mysql) const;
29
30 bool m_isTrip;
31 vector<string> timest;
32 vector<string> timend;
33};
34#endif
struct st_mysql MYSQL
string gettimest(int i)