Changeset 855 for trunk/MagicSoft/Mars/mbase/MParContainer.h
- Timestamp:
- 07/05/01 13:23:12 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParContainer.h
r848 r855 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 title39 TString *fName; //! parameter container identifier (name) 40 TString *fTitle; //! parameter container title 41 41 42 Bool_t f HasChanged; //! should be set to true if the contents of the container is changed somehow42 Bool_t fReadyToSave; //! should be set to true if the contents of the container is changed somehow 43 43 44 44 public: 45 MParContainer(const char *name="", const char *title="") : fLog(&gLog), f HasChanged(kFALSE) { Init(name, title); }46 MParContainer(const TString &name, const TString &title) : fLog(&gLog), f HasChanged(kFALSE) { Init(name, title); }45 MParContainer(const char *name="", const char *title="") : fLog(&gLog), fReadyToSave(kFALSE) { Init(name, title); } 46 MParContainer(const TString &name, const TString &title) : fLog(&gLog), fReadyToSave(kFALSE) { Init(name, title); } 47 47 MParContainer(const MParContainer &named); 48 48 MParContainer& operator=(const MParContainer& rhs); … … 69 69 virtual void Reset() {}; 70 70 71 virtual Bool_t HasChanged() { return fHasChanged; }72 virtual void Set HasChanged(Bool_t flag=kTRUE) { fHasChanged=flag; }71 virtual Bool_t IsReadyToSave() { return fReadyToSave; } 72 virtual void SetReadyToSave(Bool_t flag=kTRUE) { fReadyToSave=flag; } 73 73 74 74 virtual void AsciiRead(ifstream &fin);
Note:
See TracChangeset
for help on using the changeset viewer.