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
File.h
1
#ifndef _Belle2_File_hh
2
#define _Belle2_File_hh
3
4
#include "daq/slc/system/FileDescriptor.h"
5
6
#include <string>
7
8
namespace
Belle2
{
14
class
File
:
public
FileDescriptor
{
15
16
public
:
17
static
bool
exist(
const
std::string& filename);
18
19
public
:
20
File
() {}
21
File
(
int
fd) :
FileDescriptor
(fd) {}
22
File
(
const
std::string& path,
23
const
std::string& mode =
"r"
) { open(path, mode); }
24
virtual
~
File
() {}
25
26
public
:
27
void
open(
const
std::string& path,
28
const
std::string& mode =
"r"
);
29
void
unlink(
const
std::string& path);
30
virtual
size_t
write(
const
void
* v,
size_t
count);
31
virtual
size_t
read(
void
* v,
size_t
count);
32
33
};
34
36
}
37
38
#endif
Belle2::File
Definition:
File.h:14
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::FileDescriptor
Definition:
FileDescriptor.h:10
daq
slc
system
include
File.h
Generated on Tue Jan 4 2022 02:54:35 for Belle II Software by
1.8.17