ReFRACtor
|
/ This opens a file for reading, possibly with automatic / decompression. More...
#include <fstream_compress.h>
Public Member Functions | |
IstreamCompress (const std::string &Fname) | |
This opens a file for reading, possibly with automatic decompression. More... | |
virtual | ~IstreamCompress () |
Protected Attributes | |
std::ifstream | f |
Underlying ifstream. More... | |
boost::iostreams::filtering_istreambuf | sb |
Filtering streambuf. More... | |
/ This opens a file for reading, possibly with automatic / decompression.
We look at the File name, and if ends if ".gz" then / we automatically gunzip the file. / / See all also IfstreamCs which both handles decompression and / stripping out comments.
Definition at line 27 of file fstream_compress.h.
IstreamCompress::IstreamCompress | ( | const std::string & | Fname | ) |
This opens a file for reading, possibly with automatic decompression.
We look at the File name, and if ends if ".gz" then we automatically gunzip the file.
See all also IfstreamCs which both handles decompression and stripping out comments.
Definition at line 30 of file fstream_compress.cc.
|
inlinevirtual |
Definition at line 30 of file fstream_compress.h.
|
protectedinherited |
Underlying ifstream.
Definition at line 66 of file filtering_fstream.h.
|
protectedinherited |
Filtering streambuf.
Definition at line 72 of file filtering_fstream.h.