Belle II Software
development
Toggle main menu visibility
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
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
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
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
Typedefs
Macros
Reader.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_Reader_hh
9
#define _Belle2_Reader_hh
10
11
#include <cstddef>
12
#include <string>
13
14
namespace
Belle2
{
20
class
Serializable;
21
22
class
Reader
{
23
24
public
:
25
virtual
~Reader
() {}
26
27
public
:
28
virtual
size_t
read(
void
*,
size_t
) = 0;
29
virtual
bool
available() = 0;
30
31
protected
:
32
void
reverse(
void
* buf,
size_t
len);
33
34
public
:
35
virtual
bool
readBool();
36
virtual
char
readChar();
37
virtual
short
readShort();
38
virtual
int
readInt();
39
virtual
long
long
readLong();
40
virtual
unsigned
char
readUChar();
41
virtual
unsigned
short
readUShort();
42
virtual
unsigned
int
readUInt();
43
virtual
unsigned
long
long
readULong();
44
virtual
float
readFloat();
45
virtual
double
readDouble();
46
virtual
const
std::string readString();
47
virtual
void
readObject(
Serializable
&);
48
49
};
50
52
};
53
54
#endif
Belle2::Reader
Definition:
Reader.h:22
Belle2::Serializable
Definition:
Serializable.h:20
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
daq
slc
base
include
Reader.h
Generated on Wed Apr 9 2025 02:38:11 for Belle II Software by
1.9.6