Ignore:
Timestamp:
06/05/02 10:20:05 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MWriteAsciiFile.h

    r1337 r1348  
    99#endif
    1010
     11class MData;
     12
    1113class MWriteAsciiFile : public MWriteFile
    1214{
    1315private:
    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
    2317
    24     ofstream *fOut;
     18    TString fNameFile;  // name of the ascii file
    2519
    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
    2922
    30     TString fNameFile;
    31 /*
    32     TList fList;
    33 */
    3423    virtual void   CheckAndWrite() const;
    3524    virtual Bool_t IsFileOpen() const;
     
    4635    ~MWriteAsciiFile();
    4736
    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);
    5039
    51     /*
    52      Bool_t PreProcess(MParList *plist);
    53      void Add(const char *rule);
    54      */
     40    void AddRule(const char *rule);
    5541
    5642    ClassDef(MWriteAsciiFile, 0) // Class to write one container to an ascii file
Note: See TracChangeset for help on using the changeset viewer.