#include <genesis/utils/io/gzip_stream.hpp>
Helper class template for managing the construction order between stream classes.
This class template is needed because the GzipIFStream and GzipOFStream classes need to combine some other classes in the correct order, so that they can be properly constructed.
The class template is based on the zstr::detail::strict_fstream_holder class template of the excellent zstr library by Matei David; see also our Acknowledgements.
Definition at line 233 of file gzip_stream.hpp.
Public Member Functions | |
StrictFStreamHolder (std::string const &filename, std::ios_base::openmode mode=std::ios_base::in) | |
Public Attributes | |
FStreamType | file_stream_ |
|
inline |
Definition at line 235 of file gzip_stream.hpp.
FStreamType file_stream_ |
Definition at line 239 of file gzip_stream.hpp.