8#ifndef _Belle2_ERRORNo_hh
9#define _Belle2_ERRORNo_hh
11#include "daq/slc/base/Enum.h"
19 class ERRORNo :
public Enum {
23 static const ERRORNo UNKNOWN;
24 static const ERRORNo NSMONLINE;
25 static const ERRORNo NSMSENDREQ;
26 static const ERRORNo NSMMEMOPEN;
27 static const ERRORNo NSMINIT;
28 static const ERRORNo DATABASE;
33 ERRORNo(
const Enum& e) : Enum(e) {}
35 ERRORNo(
const char* label) { *
this = label; }
36 explicit ERRORNo(
int id) { *
this = id; }
40 ERRORNo(
int id,
const char* label)
44 const ERRORNo& operator=(
const std::string& label);
45 const ERRORNo& operator=(
const char* label);
46 const ERRORNo& operator=(
int id);
Abstract base class for different kinds of events.