Belle II Software development
NSMState.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 _Belle2_NSMState_hh
9#define _Belle2_NSMState_hh
10
11#include "daq/slc/base/Enum.h"
12
13namespace Belle2 {
18
19 class NSMState : public Enum {
20
21 public:
22 static const NSMState ONLINE_S;
23
24 public:
25 NSMState() : Enum(Enum::UNKNOWN) {}
26 // cppcheck-suppress noExplicitConstructor ; implicit conversion is part of the Enum-style API
27 NSMState(const Enum& num) : Enum(num) {}
28 NSMState(const NSMState& st) : Enum(st) {}
29 ~NSMState() {}
30
34 const NSMState& operator=(const NSMState& state);
35
36 protected:
37 NSMState(int id, const char* label)
38 : Enum(id, label) {}
39
40 };
41
43}
44
45#endif
const NSMState & operator=(const NSMState &state)
Operator =.
Definition NSMState.cc:14
Abstract base class for different kinds of events.