Belle II Software  release-05-02-19
RFConf.h
1 #ifndef RFCONF_H
2 #define RFCONF_H
3 //+
4 // File : RFConf.h
5 // Description : Configuration Manager for RFARM
6 //
7 // Author : Ryosuke Itoh, KEK
8 // Date : 12 - Jun - 2013
9 //-
10 
11 #include <stdio.h>
12 
13 namespace Belle2 {
19  struct RFConf_t {
20  char* key; char* val; struct RFConf_t* next;
21  };
22 
23 
24  class RFConf {
25  public:
26  RFConf(const char* file);
27  ~RFConf();
28 
29  char* getconf(const char* key1,
30  const char* key2 = NULL,
31  const char* key3 = NULL);
32 
33  int getconfi(const char* key1,
34  const char* key2 = NULL,
35  const char* key3 = NULL);
36 
37  private:
38  FILE* m_fd;
39 
40  };
42 }
43 
44 #endif
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::RFConf_t
Definition: RFConf.h:19
Belle2::RFConf
Definition: RFConf.h:24