158       printf(
"No comments defined\n");
 
  181    if (!fname || !strlen(fname)) {
 
  182       Error(
"WriteFile", 
"no file name specified");
 
  187       Error(
"WriteFile", 
"TEnv table is empty");
 
  192    if ((ofp = fopen(fname, 
"w"))) {
 
  201       while ((er = (
TEnvRec*) next()))
 
  203             fprintf(ofp, 
"%-40s %s\n", 
Form(
"%s:", er->
GetName()),
 
  210    Error(
"WriteFile", 
"cannot open %s for writing", fname);
 
char * Form(const char *fmt,...)
 
Extension of TEnv to allow the writing of comments in the file.
 
void AddCommentLine(const Char_t *line)
 
Int_t WriteFile(const char *fname, EEnvLevel level=kEnvAll) override
 
void Copy(TObject &obj) const override
 
void AddComments(const Char_t *comments)
 
virtual ~KVEnv()
Destructor.
 
void CopyTable(TEnv &env)
Copy table of env to this.
 
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
 
void Begin(TString delim) const
 
KVString Next(Bool_t strip_whitespace=kFALSE) const
 
virtual Int_t GetEntries() const
 
EEnvLevel GetLevel() const
 
const char * GetValue() const
 
const char * GetName() const override
 
THashList * GetTable() const
 
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
 
void Clear(Option_t *option="") override
 
void Add(TObject *obj) override
 
TObject * At(Int_t idx) const override
 
virtual const char * GetName() const
 
virtual void Copy(TObject &object) const
 
virtual void Error(const char *method, const char *msgfmt,...) const
 
const char * Data() const