Ignore:
Timestamp:
03/31/03 10:37:56 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1879 r1880  
    2323class ifstream;
    2424
     25class TEnv;
    2526class TDataMember;
    2627class TMethodCall;
     
    5657    virtual TObject    *Clone(const char *newname="") const;
    5758    virtual Int_t       Compare(const TObject *obj) const;
    58     virtual void        Copy(TObject &named);
     59    virtual void        Copy(TObject &named)
     60#if ROOT_VERSION_CODE > ROOT_VERSION(3,04,01)
     61const
     62#endif
     63        ;
    5964    virtual void        FillBuffer(char *&buffer);
    6065
     
    95100    virtual void SetNames(TObjArray &arr);
    96101
     102    virtual Bool_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
     103    virtual Bool_t WriteEnv(TEnv &env, TString prefix, Bool_t print=kFALSE) const;
     104
     105    Bool_t ReadEnv(const TEnv &env, Bool_t print=kFALSE) { return ReadEnv(env, "", print); }
     106    Bool_t WriteEnv(TEnv &env, Bool_t print=kFALSE) const { return WriteEnv(env, "", print); }
     107
     108    Bool_t IsEnvDefined(const TEnv &env, TString prefix, TString postfix, Bool_t print) const;
     109    Bool_t IsEnvDefined(const TEnv &env, TString name, Bool_t print) const;
     110
     111    Int_t       GetEnvValue(const TEnv &env, TString prefix, TString postfix, Int_t dflt) const;
     112    Double_t    GetEnvValue(const TEnv &env, TString prefix, TString postfix, Double_t dflt) const;
     113    const char *GetEnvValue(const TEnv &env, TString prefix, TString postfix, const char *dflt) const;
     114
    97115    ClassDef(MParContainer, 0)  //The basis for all parameter containers
    98116};
Note: See TracChangeset for help on using the changeset viewer.