hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
stream.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <fstream>
11
#include <memory>
12
#include <string>
13
14
#include "boost/iostreams/filtering_stream.hpp"
15
16
namespace
HEJ
{
17
19
class
istream
{
20
using
boost_istream = boost::iostreams::filtering_istream;
21
public
:
23
26
explicit
istream
(std::string
const
& filename);
27
29
operator
boost_istream& ()
const
noexcept
{
30
return
*stream_;
31
}
32
33
private
:
34
std::ifstream file_;
35
std::unique_ptr<boost_istream> stream_;
36
};
37
38
}
// namespace HEJ
HEJ::istream
Small wrapper around boost's filtering_istream.
Definition:
stream.hh:19
HEJ::istream::istream
istream(std::string const &filename)
Constructor.
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
Generated by
1.9.5