KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVEnv.h
Go to the documentation of this file.
1 
4 #ifndef __KVENV_H
5 #define __KVENV_H
6 
7 #include "TEnv.h"
8 #include "TList.h"
9 
16 class KVEnv : public TEnv {
17 protected:
19 
20 public:
21 
22  KVEnv(const KVEnv& obj);
23  KVEnv(const char* name = "");
24  virtual ~KVEnv();
25  void Copy(TObject& obj) const;
26  void CopyTable(TEnv& env);
27 
28  virtual Int_t WriteFile(const char* fname, EEnvLevel level = kEnvAll);
29  void AddCommentLine(const Char_t* line);
30  void AddComments(const Char_t* comments);
31  void ClearComments();
32  void PrintComments();
33 
34  ClassDef(KVEnv, 1) //child class of TEnv to allow the writing of comments in the file
35 };
36 
37 #endif
int Int_t
char Char_t
#define ClassDef(name, id)
EEnvLevel
Extension of TEnv to allow the writing of comments in the file.
Definition: KVEnv.h:16
void AddCommentLine(const Char_t *line)
Definition: KVEnv.cpp:104
void PrintComments()
Definition: KVEnv.cpp:153
void AddComments(const Char_t *comments)
Definition: KVEnv.cpp:123
virtual ~KVEnv()
Destructor.
Definition: KVEnv.cpp:49
KVEnv(const KVEnv &obj)
Definition: KVEnv.cpp:22
void ClearComments()
Definition: KVEnv.cpp:142
TList fComments
Definition: KVEnv.h:18
void Copy(TObject &obj) const
Definition: KVEnv.cpp:65
void CopyTable(TEnv &env)
Copy table of env to this.
Definition: KVEnv.cpp:82
virtual Int_t WriteFile(const char *fname, EEnvLevel level=kEnvAll)
Definition: KVEnv.cpp:174