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
Buffer.h
1
#ifndef _Belle2_Buffer_hh
2
#define _Belle2_Buffer_hh
3
4
#include <cstddef>
5
6
namespace
Belle2
{
12
class
Buffer
{
13
14
// constructors & destructors
15
public
:
16
Buffer
();
17
Buffer
(
unsigned
int
size,
unsigned
char
* memory = NULL);
18
Buffer
(
const
Buffer
& w);
19
virtual
~
Buffer
();
20
21
// member methods implemented
22
public
:
23
unsigned
char
* ptr() {
return
m_memory; }
24
const
unsigned
char
* ptr()
const
{
return
m_memory; }
25
unsigned
int
size()
const
{
return
m_size; }
26
virtual
bool
available() {
return
m_memory != NULL; }
27
28
// operators
29
public
:
30
const
Buffer
& operator = (
const
Buffer
&);
31
32
// member data
33
protected
:
34
unsigned
char
* m_memory;
35
unsigned
int
m_size;
36
bool
m_allocated;
37
38
};
39
41
}
42
43
#endif
Belle2::Buffer
Definition:
Buffer.h:12
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
daq
slc
system
include
Buffer.h
Generated on Tue Jan 4 2022 02:54:33 for Belle II Software by
1.8.17