149   virtual const char *
GetValue(
const char *
name, 
const char *dflt) 
const;
 
  151   virtual void        SetValue(
const char *
name, 
const char *value,
 
  153                                const char *
type = 
nullptr);
 
#define ClassDef(name, id)
 
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 * GetType() const
 
EEnvLevel GetLevel() const
 
const char * GetValue() const
 
TString ExpandValue(const char *v)
Replace all  strings by the value defined in the shell (obtained via TSystem::Getenv()).
 
const char * GetName() const
Returns name of object.
 
ULong_t Hash() const
Return hash value for this object.
 
Int_t Compare(const TObject *obj) const
Comparison function for resources.
 
~TEnvRec()
TNamed destructor.
 
The TEnv class reads config files, by default named .rootrc.
 
virtual void PrintEnv(EEnvLevel level=kEnvAll) const
Print all resources for a certain level (global, user, local, changed).
 
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
 
THashList * GetTable() const
 
virtual Int_t WriteFile(const char *fname, EEnvLevel level=kEnvAll)
Write resource records to file fname for a certain level.
 
Bool_t IgnoreDuplicates(Bool_t ignore)
If set to true, no warnings in case of duplicates are issued.
 
virtual void SetRcName(const char *name)
 
virtual Int_t ReadFile(const char *fname, EEnvLevel level)
Read and parse the resource file for a certain level.
 
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
Set the value of a resource or create a new resource.
 
virtual TEnvRec * Lookup(const char *n) const
Loop over all resource records and return the one with name.
 
virtual void Save()
Write the resource files for each level.
 
Bool_t Defined(const char *name) const
 
virtual const char * GetRcName() const
 
const char * Getvalue(const char *name) const
Returns the character value for a named resource.
 
TEnv & operator=(const TEnv &)=delete
 
virtual void Print(Option_t *option="") const
Print all resources or the global, user or local resources separately.
 
virtual void SaveLevel(EEnvLevel level)
Write the resource file for a certain level.
 
virtual ~TEnv()
Delete the resource table.
 
TEnv(const TEnv &)=delete
 
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
 
Mother of all ROOT objects.
 
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.