72 class TWriteEnvParser;
138 const char *Getvalue(
const char *
name);
146 {
return Getvalue(name) != 0; }
148 virtual const char *
GetRcName()
const {
return fRcName; }
153 virtual const char *
GetValue(
const char *name,
const char *dflt);
155 virtual void SetValue(
const char *name,
const char *value,
157 const char *
type = 0);
159 virtual void SetValue(
const char *name,
Int_t value);
160 virtual void SetValue(
const char *name,
Double_t value);
162 virtual TEnvRec *Lookup(
const char *
n);
virtual void SetRcName(const char *name)
virtual const char * GetRcName() const
ULong_t Hash() const
Return hash value for this object.
The TEnv class reads config files, by default named .rootrc.
void ChangeValue(const char *v, const char *t, EEnvLevel l, Bool_t append=kFALSE, Bool_t ignoredup=kFALSE)
Change the value of a resource.
const char * GetValue() const
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
#define ClassDef(name, id)
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TObject & operator=(const TObject &rhs)
TObject assignment operator.
EEnvLevel GetLevel() const
friend class TWriteEnvParser
THashList * GetTable() const
const char * GetName() const
Returns name of object.
Int_t Compare(const TObject *obj) const
Comparison function for resources.
TString ExpandValue(const char *v)
Replace all strings by the value defined in the shell (obtained via TSystem::Getenv()).
const char * GetType() const
friend class TReadEnvParser
Mother of all ROOT objects.
RooCmdArg Save(Bool_t flag=kTRUE)
Bool_t Defined(const char *name)