hej
is hosted by
Hepforge
,
IPPP Durham
HEJ 2
2.0
High energy resummation for hadron colliders
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
f
g
h
i
j
l
m
n
o
p
r
s
t
Variables
Typedefs
Enumerations
Enumerator
b
c
d
e
f
g
h
l
m
n
p
s
t
u
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Related Functions
Files
File List
File Members
All
c
h
j
m
o
Functions
c
j
m
o
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
HEJ
stream.hh
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <fstream>
12
#include <memory>
13
#include <string>
14
15
#include <boost/iostreams/filtering_stream.hpp>
16
17
namespace
HEJ
{
18
20
class
istream
{
21
using
boost_istream = boost::iostreams::filtering_istream;
22
public
:
24
27
explicit
istream
(std::string
const
& filename);
28
30
operator
boost_istream& ()
const
noexcept {
31
return
*stream_;
32
}
33
34
private
:
35
std::ifstream file_;
36
std::unique_ptr<boost_istream> stream_;
37
};
38
39
}
HEJ::istream
Small wrapper around boost's filtering_istream.
Definition:
stream.hh:20
HEJ::istream::istream
istream(std::string const &filename)
Constructor.
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
Generated by
1.9.1