ReFRACtor
|
/ This opens a file for writing, possibly with automatic / compression. More...
#include <fstream_compress.h>
Public Member Functions | |
OstreamCompress (const std::string &Fname) | |
This opens a file for writing, possibly with automatic compression. More... | |
virtual | ~OstreamCompress () |
Protected Attributes | |
std::ofstream | f |
Underlying ofstream. More... | |
boost::iostreams::filtering_ostreambuf | sb |
Filtering streambuf. More... | |
/ This opens a file for writing, possibly with automatic / compression.
We look at the File name, and if ends if ".gz" then / we automatically gzip the file.
Definition at line 12 of file fstream_compress.h.
OstreamCompress::OstreamCompress | ( | const std::string & | Fname | ) |
This opens a file for writing, possibly with automatic compression.
We look at the File name, and if ends if ".gz" then we automatically gzip the file.
Definition at line 13 of file fstream_compress.cc.
|
inlinevirtual |
Definition at line 15 of file fstream_compress.h.
|
protectedinherited |
Underlying ofstream.
Definition at line 32 of file filtering_fstream.h.
|
protectedinherited |
Filtering streambuf.
Definition at line 38 of file filtering_fstream.h.