Changeset 1348 for trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.h
- Timestamp:
- 06/05/02 10:20:05 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.h
r1337 r1348 9 9 #endif 10 10 11 class MData; 12 11 13 class MWriteAsciiFile : public MWriteFile 12 14 { 13 15 private: 14 class MScale : public TNamed 15 { 16 private: 17 Double_t fScale; 18 public: 19 MScale(const char *name, const char *title, Double_t scale) 20 : TNamed(name, title), fScale(scale) {} 21 Double_t GetScale() const { return fScale; } 22 }; 16 ofstream *fOut; //! ascii file 23 17 24 ofstream *fOut;18 TString fNameFile; // name of the ascii file 25 19 26 TObjArray fContNames; 27 TObjArray fContainer; 28 TObjArray fMembers; 20 TObjArray fList; // list of rules and containers to be written 21 TObjArray fAutoDel; //! List of object to be deleted in the destructor 29 22 30 TString fNameFile;31 /*32 TList fList;33 */34 23 virtual void CheckAndWrite() const; 35 24 virtual Bool_t IsFileOpen() const; … … 46 35 ~MWriteAsciiFile(); 47 36 48 void AddContainer(const char *cname, const char *member="", Double_t scale=1);49 void AddContainer(MParContainer *cont, const char *member="", Double_t scale=1);37 void AddContainer(const TString cname, const TString member="", Double_t scale=1); 38 void AddContainer(MParContainer *cont, const TString member="", Double_t scale=1); 50 39 51 /* 52 Bool_t PreProcess(MParList *plist); 53 void Add(const char *rule); 54 */ 40 void AddRule(const char *rule); 55 41 56 42 ClassDef(MWriteAsciiFile, 0) // Class to write one container to an ascii file
Note:
See TracChangeset
for help on using the changeset viewer.