Ignore:
Timestamp:
07/05/01 13:23:12 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r848 r855  
    3535
    3636protected:
    37     MLog    *fLog;        //! The general log facility for this object, initialized with the global object
     37    MLog    *fLog;         //! The general log facility for this object, initialized with the global object
    3838
    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
    4141
    42     Bool_t   fHasChanged; //! should be set to true if the contents of the container is changed somehow
     42    Bool_t   fReadyToSave; //! should be set to true if the contents of the container is changed somehow
    4343
    4444public:
    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    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); }
    4747    MParContainer(const MParContainer &named);
    4848    MParContainer& operator=(const MParContainer& rhs);
     
    6969    virtual void     Reset() {};
    7070
    71     virtual Bool_t HasChanged() { return fHasChanged; }
    72     virtual void   SetHasChanged(Bool_t flag=kTRUE) { fHasChanged=flag; }
     71    virtual Bool_t IsReadyToSave() { return fReadyToSave; }
     72    virtual void   SetReadyToSave(Bool_t flag=kTRUE) { fReadyToSave=flag; }
    7373
    7474    virtual void AsciiRead(ifstream &fin);
Note: See TracChangeset for help on using the changeset viewer.