source: tags/Mars-V0.4/mbase/MWriteAsciiFile.h

Last change on this file was 852, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 860 bytes
Line 
1#ifndef MWRITEASCIIFILE_H
2#define MWRITEASCIIFILE_H
3
4#ifndef MWRITEFILE_H
5#include "MWriteFile.h"
6#endif
7
8class MWriteAsciiFile : public MWriteFile //MTask
9{
10private:
11 ofstream *fOut;
12
13 TString fNameFile;
14 TString fNameContainer;
15
16 MParContainer *fContainer;
17
18 virtual void CheckAndWrite() const;
19 virtual Bool_t IsFileOpen() const;
20 virtual Bool_t GetContainer(MParList *pList);
21 virtual const char *GetFileName() const { return fNameFile; }
22
23
24public:
25 MWriteAsciiFile(const char *filename, const char *contname,
26 const char *name=NULL, const char *title=NULL);
27 MWriteAsciiFile(const char *filename, MParContainer *cont,
28 const char *name=NULL, const char *title=NULL);
29 ~MWriteAsciiFile();
30
31 ClassDef(MWriteAsciiFile, 0) // Class to write one container to an ascii file
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.