Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Connection.h
1
#ifndef _Belle2_Connection_hh
2
#define _Belle2_Connection_hh
3
4
#include "daq/slc/base/Enum.h"
5
6
namespace
Belle2
{
12
class
Connection
:
public
Enum
{
13
14
public
:
15
static
const
Connection
ONLINE;
16
static
const
Connection
OFFLINE;
17
18
public
:
19
Connection
();
20
Connection
(
const
Enum
& st) ;
21
Connection
(
const
Connection
& st) ;
22
Connection
(
const
std::string& st) { *
this
= st; }
23
Connection
(
int
id
) { *
this
= id; }
24
~
Connection
() ;
25
26
private
:
27
Connection
(
int
id
,
const
char
* label);
28
29
public
:
30
bool
operator==(
const
Connection
& st)
const
;
31
bool
operator!=(
const
Connection
& st)
const
;
32
const
Connection
& operator=(
const
std::string& msg);
33
const
Connection
& operator=(
const
char
* msg);
34
const
Connection
& operator=(
int
i);
35
36
};
37
38
inline
bool
Connection::operator==(
const
Connection
& st)
const
39
{
40
return
(getId() == st.getId());
41
}
42
43
inline
bool
Connection::operator!=(
const
Connection& st)
const
44
{
45
return
(getId() != st.getId());
46
}
47
49
}
50
51
#endif
Belle2::Enum
Definition:
Enum.h:12
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::Connection
Definition:
Connection.h:12
daq
slc
base
include
Connection.h
Generated on Tue Jan 4 2022 02:54:13 for Belle II Software by
1.8.17