Belle II Software development
RFConf.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#ifndef RFCONF_H
9#define RFCONF_H
10
11#include <stdio.h>
12
13namespace 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
Abstract base class for different kinds of events.