source: trunk/MagicSoft/Mars/mreport/MReportFileRead.h@ 2604

Last change on this file since 2604 was 2592, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1020 bytes
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
12class THashTable;
13
14class MTime;
15class MReport;
16class MReportHelp;
17
18class MReportFileRead : public MTask
19{
20private:
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
38public:
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.