1 #ifndef FILTERING_FSTREAM_H 2 #define FILTERING_FSTREAM_H 4 #include <boost/iostreams/filtering_stream.hpp> 26 :
std::ostream(&
sb),
f(Fname.c_str()) {}
38 boost::iostreams::filtering_ostreambuf
sb;
60 :
std::istream(&
sb),
f(Fname.c_str()) {}
72 boost::iostreams::filtering_istreambuf
sb;
boost::iostreams::filtering_istreambuf sb
Filtering streambuf.
std::ifstream f
Underlying ifstream.
FilteringOstream(const std::string &Fname)
Constructor.
boost::iostreams::filtering_ostreambuf sb
Filtering streambuf.
This allows filtering stream to created on top of an underlying ifstream.
FilteringIstream(const std::string &Fname)
Constructor.
virtual ~FilteringOstream()
This allows filtering stream to created on top of an underlying ofstream.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual ~FilteringIstream()
std::ofstream f
Underlying ofstream.