Last change
on this file since 18277 was 17337, checked in by tbretz, 11 years ago |
Removed unused arguments to suppress compiler warning.
|
File size:
789 bytes
|
Line | |
---|
1 | #ifndef MARS_MRead
|
---|
2 | #define MARS_MRead
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MFilter;
|
---|
9 | class MDirIter;
|
---|
10 |
|
---|
11 | class MRead : public MTask
|
---|
12 | {
|
---|
13 | private:
|
---|
14 | MFilter *fSelector;
|
---|
15 |
|
---|
16 | public:
|
---|
17 | MRead() : fSelector(NULL) {}
|
---|
18 |
|
---|
19 | virtual UInt_t GetEntries() = 0;
|
---|
20 | virtual TString GetFileName() const;
|
---|
21 | virtual TString GetFullFileName() const = 0;
|
---|
22 | virtual Bool_t Rewind();
|
---|
23 |
|
---|
24 | static Byte_t IsFileValid(const char *name);
|
---|
25 |
|
---|
26 | void SetSelector(MFilter *f) { fSelector = f; }
|
---|
27 | MFilter *GetSelector() { return fSelector; }
|
---|
28 |
|
---|
29 | virtual Int_t AddFile(const char */*fname*/, Int_t /*entries*/=-1) { return -1; }
|
---|
30 | Int_t AddFiles(MDirIter &dir);
|
---|
31 |
|
---|
32 | Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
|
---|
33 |
|
---|
34 | ClassDef(MRead, 0) // Base class for a reading task
|
---|
35 | };
|
---|
36 |
|
---|
37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.