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

Legend:

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

    r609 r843  
    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
     41
     42    Bool_t   fHasChanged; //! should be set to true if the contents of the container is changed somehow
    4143
    4244public:
    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); }
    4547    MParContainer(const MParContainer &named);
    4648    MParContainer& operator=(const MParContainer& rhs);
     
    6567    virtual Int_t    Sizeof() const;
    6668
     69    virtual void     Reset() {};
     70
     71    virtual Bool_t HasChanged() { return fHasChanged; }
     72    virtual void   SetHasChanged(Bool_t flag=kTRUE) { fHasChanged=flag; }
     73
    6774    virtual void AsciiRead(ifstream &fin) {};
    6875    virtual void AsciiWrite(ofstream &fout) const {};
Note: See TracChangeset for help on using the changeset viewer.