source: trunk/Mars/mfileio/MWriteFile.h@ 19975

Last change on this file since 19975 was 19721, checked in by tbretz, 5 years ago
No need to keep GetFileName private.
File size: 599 bytes
Line 
1#ifndef MARS_MWriteFile
2#define MARS_MWriteFile
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MWriteFile : public MTask
9{
10protected:
11 Bool_t ReInit(MParList *pList);
12
13private:
14 Int_t PreProcess(MParList *pList);
15 Int_t Process();
16 Int_t PostProcess();
17
18 virtual Bool_t IsFileOpen() const = 0;
19 virtual Bool_t CheckAndWrite() = 0;
20 virtual Bool_t GetContainer(MParList *pList) = 0;
21
22public:
23 virtual const char *GetFileName() const = 0;
24
25 ClassDef(MWriteFile, 0) // Base class for tasks to write single containers to several output formats
26};
27
28#endif
Note: See TracBrowser for help on using the repository browser.