KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVEnv.h
1
3
4#ifndef __KVENV_H
5#define __KVENV_H
6
7#include "TEnv.h"
8#include "TList.h"
9
17class KVEnv : public TEnv {
18protected:
20
21public:
22
23 KVEnv(const KVEnv& obj);
24 KVEnv(const char* name = "");
25 virtual ~KVEnv();
26 void Copy(TObject& obj) const;
27 void CopyTable(TEnv& env);
28
29 virtual Int_t WriteFile(const char* fname, EEnvLevel level = kEnvAll);
30 void AddCommentLine(const Char_t* line);
31 void AddComments(const Char_t* comments);
32 void ClearComments();
33 void PrintComments();
34
35 ClassDef(KVEnv, 1) //child class of TEnv to allow the writing of comments in the file
36};
37
38#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:17
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
void ClearComments()
Definition KVEnv.cpp:142
TList fComments
Definition KVEnv.h:19
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