Last change
on this file since 1121 was 1014, checked in by tbretz, 23 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
861 bytes
|
Line | |
---|
1 | #ifndef MARS_MWriteAsciiFile
|
---|
2 | #define MARS_MWriteAsciiFile
|
---|
3 |
|
---|
4 | #ifndef MARS_MWriteFile
|
---|
5 | #include "MWriteFile.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MWriteAsciiFile : public MWriteFile
|
---|
9 | {
|
---|
10 | private:
|
---|
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 |
|
---|
24 | public:
|
---|
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.