Belle II Software
release-05-01-25
ERRORNo.h
1
#ifndef _Belle2_ERRORNo_hh
2
#define _Belle2_ERRORNo_hh
3
4
#include "daq/slc/base/Enum.h"
5
6
namespace
Belle2
{
12
class
ERRORNo
:
public
Enum
{
13
14
public
:
15
static
const
ERRORNo
UNKNOWN;
16
static
const
ERRORNo
NSMONLINE;
17
static
const
ERRORNo
NSMSENDREQ;
18
static
const
ERRORNo
NSMMEMOPEN;
19
static
const
ERRORNo
NSMINIT;
20
static
const
ERRORNo
DATABASE;
21
22
public
:
23
ERRORNo
() {}
24
ERRORNo
(
const
Enum
& e) :
Enum
(e) {}
25
ERRORNo
(
const
ERRORNo
& cmd) :
Enum
(cmd) {}
26
ERRORNo
(
const
char
* label) { *
this
= label; }
27
ERRORNo
(
int
id
) { *
this
= id; }
28
~
ERRORNo
() {}
29
30
protected
:
31
ERRORNo
(
int
id
,
const
char
* label)
32
:
Enum
(
id
, label) {}
33
34
public
:
35
const
ERRORNo
& operator=(
const
std::string& label);
36
const
ERRORNo
& operator=(
const
char
* label);
37
const
ERRORNo
& operator=(
int
id
);
38
39
};
40
42
}
43
44
#endif
Belle2::ERRORNo
Definition:
ERRORNo.h:12
Belle2::Enum
Definition:
Enum.h:12
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
daq
slc
base
include
ERRORNo.h
Generated on Fri Nov 5 2021 03:49:51 for Belle II Software by
1.8.17