1 #ifndef HARPOCONFIGFILE_H
2 #define HARPOCONFIGFILE_H
41 Bool_t
Exist(
const char * path);
61 Bool_t
Lookup(
const char * path,Bool_t &val);
62 Bool_t
Lookup(
const char * path,Long64_t &val);
63 Bool_t
Lookup(
const char * path,ULong64_t &val);
64 Bool_t
Lookup(
const char * path,Double_t &val);
65 Bool_t
Lookup(
const char * path,TString &val);
66 Bool_t
Lookup(
const char * path,TString *&val);
71 Bool_t
LookupElem(
const char * path,UInt_t index,Bool_t &val);
72 Bool_t
LookupElem(
const char * path,UInt_t index,Long64_t &val);
73 Bool_t
LookupElem(
const char * path,UInt_t index,ULong64_t &val);
74 Bool_t
LookupElem(
const char * path,UInt_t index,Double_t &val);
75 Bool_t
LookupElem(
const char * path,UInt_t index,TString &val);
76 Bool_t
LookupElem(
const char * path,UInt_t index,TString *&val);
90 #endif // #ifndef HARPOCONFIGFILE_H
Bool_t Exist(const char *path)
Bool_t LookupElem(const char *path, UInt_t index, Bool_t &val)
HarpoConfigFile()
Constructor which does basically nothing.
TString * GetCfgFile()
Get Name of libconfig configuration file.
Int_t getSettingLength(const char *path)
Function to deal with arrays or lists.
Int_t getSettingType(const char *path)
Return paramener type as definef in libconfig.h++.
A class which keeps track of the entire configuration file.
virtual ~HarpoConfigFile()
Destructor:
Bool_t infiles
Config file name.
Bool_t Lookup(const char *path, Bool_t &val)
Lookup function for scalar values.
Bool_t SetCfgFile(const char *fcfg)
Set Name of libconfig configuration file.