Ignore:
Timestamp:
02/21/01 15:23:18 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r600 r604  
    99//                                                                      //
    1010//////////////////////////////////////////////////////////////////////////
    11 
    12 #include <fstream.h>
     11#ifndef MAGIC_H
     12#include "MAGIC.h"
     13#endif
    1314
    1415#ifndef ROOT_TObject
     
    1819#include <TString.h>
    1920#endif
     21
     22class MLog;
     23class ofstream;
     24class ifstream;
    2025
    2126class MParContainer : public TObject
     
    3136
    3237protected:
    33     TString   *fName;            //! parameter container identifier (name)
    34     TString   *fTitle;           //! parameter container title
     38    MLog    *fLog;    //! The general log facility for this object, initialized with the global object
     39
     40    TString *fName;   //! parameter container identifier (name)
     41    TString *fTitle;  //! parameter container title
    3542
    3643public:
    37     MParContainer(const char *name="", const char *title="") { Init(name, title); }
    38     MParContainer(const TString &name, const TString &title) { Init(name, title); }
     44    MParContainer(const char *name="", const char *title="") : fLog(&gLog) { Init(name, title); }
     45    MParContainer(const TString &name, const TString &title) : fLog(&gLog) { Init(name, title); }
    3946    MParContainer(const MParContainer &named);
    4047    MParContainer& operator=(const MParContainer& rhs);
     48
     49    void SetLogStream(MLog *log) { fLog = log; }
     50
    4151    virtual ~MParContainer() {
    4252      //delete fName; delete fTitle;
Note: See TracChangeset for help on using the changeset viewer.