Changeset 604 for trunk/MagicSoft/Mars/mbase/MParContainer.h
- Timestamp:
- 02/21/01 15:23:18 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParContainer.h
r600 r604 9 9 // // 10 10 ////////////////////////////////////////////////////////////////////////// 11 12 #include <fstream.h> 11 #ifndef MAGIC_H 12 #include "MAGIC.h" 13 #endif 13 14 14 15 #ifndef ROOT_TObject … … 18 19 #include <TString.h> 19 20 #endif 21 22 class MLog; 23 class ofstream; 24 class ifstream; 20 25 21 26 class MParContainer : public TObject … … 31 36 32 37 protected: 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 35 42 36 43 public: 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); } 39 46 MParContainer(const MParContainer &named); 40 47 MParContainer& operator=(const MParContainer& rhs); 48 49 void SetLogStream(MLog *log) { fLog = log; } 50 41 51 virtual ~MParContainer() { 42 52 //delete fName; delete fTitle;
Note:
See TracChangeset
for help on using the changeset viewer.