Line | |
---|
1 | #ifndef MARS_MReportFileRead
|
---|
2 | #define MARS_MReportFileRead
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | // gcc 3.2
|
---|
9 | //class ifstream;
|
---|
10 | #include <iosfwd>
|
---|
11 |
|
---|
12 | class THashTable;
|
---|
13 |
|
---|
14 | class MTime;
|
---|
15 | class MReport;
|
---|
16 | class MReportHelp;
|
---|
17 |
|
---|
18 | class MReportFileRead : public MTask
|
---|
19 | {
|
---|
20 | private:
|
---|
21 | static const TString gsReportHeader;
|
---|
22 | static const TString gsVersionPrefix;
|
---|
23 |
|
---|
24 | TString fFileName;
|
---|
25 | ifstream *fIn; //! buffered input stream (file to read from)
|
---|
26 |
|
---|
27 | THashTable *fList;
|
---|
28 |
|
---|
29 | Int_t PreProcess(MParList *pList);
|
---|
30 | Int_t Process();
|
---|
31 | Int_t PostProcess();
|
---|
32 |
|
---|
33 | Bool_t CheckFileHeader() const;
|
---|
34 | MReport *GetReport(const TString &str) const;
|
---|
35 | MReport *GetReport(MReportHelp *help) const;
|
---|
36 | MReportHelp *GetReportHelp(const TString &str) const;
|
---|
37 |
|
---|
38 | public:
|
---|
39 | MReportFileRead(const char *filename, const char *name=NULL, const char *title=NULL);
|
---|
40 | ~MReportFileRead();
|
---|
41 |
|
---|
42 | Bool_t AddToList(const char *name) const;
|
---|
43 |
|
---|
44 | ClassDef(MReportFileRead, 0)// Task to read the central control report file
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.