hej
is hosted by
Hepforge
,
IPPP Durham
HEJ 2
2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
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.5