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
InputHandler.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2010-2011 Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Martin Ritter *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <string>
14
15
namespace
Belle2
{
20
namespace
gearbox {
27
class
InputContext {
28
public
:
37
virtual
int
readXmlData
(
char
* buffer,
int
buffsize) = 0;
39
virtual
~InputContext
() {}
40
protected
:
41
};
42
49
class
InputHandler {
50
public
:
55
typedef
InputHandler
*
Factory
(
const
std::string& uri);
56
65
explicit
InputHandler
(
const
std::string& uri):
m_uri
(uri) {};
66
68
virtual
~InputHandler
() {}
69
78
virtual
InputContext*
open
(
const
std::string& path) = 0;
79
protected
:
81
std::string
m_uri
;
82
};
83
}
85
}
Belle2::gearbox::InputHandler::m_uri
std::string m_uri
URI for the InputHandler.
Definition:
InputHandler.h:89
Belle2::gearbox::InputHandler::~InputHandler
virtual ~InputHandler()
empty, virtual destructor
Definition:
InputHandler.h:76
Belle2::gearbox::InputHandler::Factory
InputHandler * Factory(const std::string &uri)
Factory function which takes a backend uri and returns an InputHandler instance.
Definition:
InputHandler.h:63
Belle2::gearbox::InputContext::readXmlData
virtual int readXmlData(char *buffer, int buffsize)=0
Read a block of XML data into buffer, at most buffsize bytes and return the number of bytes read.
Belle2::gearbox::InputHandler::InputHandler
InputHandler(const std::string &uri)
Constructor accepting the uri for the InputHandler.
Definition:
InputHandler.h:73
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::gearbox::InputContext::~InputContext
virtual ~InputContext()
Close the context.
Definition:
InputHandler.h:47
Belle2::gearbox::InputHandler::open
virtual InputContext * open(const std::string &path)=0
Open an XML resource.
framework
gearbox
include
InputHandler.h
Generated on Tue Jan 4 2022 02:56:43 for Belle II Software by
1.8.17