Changeset 843 for trunk/MagicSoft/Mars/mbase/MParContainer.h
- Timestamp:
- 06/12/01 13:08:58 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParContainer.h
r609 r843 35 35 36 36 protected: 37 MLog *fLog; //! The general log facility for this object, initialized with the global object37 MLog *fLog; //! The general log facility for this object, initialized with the global object 38 38 39 TString *fName; //! parameter container identifier (name) 40 TString *fTitle; //! parameter container title 39 TString *fName; //! parameter container identifier (name) 40 TString *fTitle; //! parameter container title 41 42 Bool_t fHasChanged; //! should be set to true if the contents of the container is changed somehow 41 43 42 44 public: 43 MParContainer(const char *name="", const char *title="") : fLog(&gLog) { Init(name, title); }44 MParContainer(const TString &name, const TString &title) : fLog(&gLog) { Init(name, title); }45 MParContainer(const char *name="", const char *title="") : fLog(&gLog), fHasChanged(kFALSE) { Init(name, title); } 46 MParContainer(const TString &name, const TString &title) : fLog(&gLog), fHasChanged(kFALSE) { Init(name, title); } 45 47 MParContainer(const MParContainer &named); 46 48 MParContainer& operator=(const MParContainer& rhs); … … 65 67 virtual Int_t Sizeof() const; 66 68 69 virtual void Reset() {}; 70 71 virtual Bool_t HasChanged() { return fHasChanged; } 72 virtual void SetHasChanged(Bool_t flag=kTRUE) { fHasChanged=flag; } 73 67 74 virtual void AsciiRead(ifstream &fin) {}; 68 75 virtual void AsciiWrite(ofstream &fout) const {};
Note:
See TracChangeset
for help on using the changeset viewer.