8#ifndef _Belle2_ERRORNo_hh
9#define _Belle2_ERRORNo_hh
11#include "daq/slc/base/Enum.h"
19 class ERRORNo :
public Enum {
22 static const ERRORNo UNKNOWN;
23 static const ERRORNo NSMONLINE;
24 static const ERRORNo NSMSENDREQ;
25 static const ERRORNo NSMMEMOPEN;
26 static const ERRORNo NSMINIT;
27 static const ERRORNo DATABASE;
31 ERRORNo(
const Enum& e) : Enum(e) {}
32 ERRORNo(
const char* label) { *
this = label; }
33 ERRORNo(
int id) { *
this = id; }
37 ERRORNo(
int id,
const char* label)
41 const ERRORNo& operator=(
const std::string& label);
42 const ERRORNo& operator=(
const char* label);
43 const ERRORNo& operator=(
int id);
Abstract base class for different kinds of events.