Files
rdkit/Code/RDStreams/streams.cpp
Brian Kelley d2f716a2e4 Adds gzstream stream, exposes to swig (#2314)
* Move RDBoostStreams to RDStreams

* RDBoostStreams->RDStreams

* RDBoostStreams->RDStreams

* Wrap SWIG (with Java test)

* Fix missing declaration

* Use the file that already exists

* Revert to original version

* Revert to CXSMiles version

* Update boost version

* Remove redundant code

* Add zlib

* check for win32

* FileParsers now builds static on windows
2019-03-18 05:32:42 +01:00

12 lines
240 B
C++

#include "streams.h"
namespace RDKit
{
gzstream::gzstream(const std::string &fname) :
boost::iostreams::filtering_istream(),
is(fname.c_str(), std::ios_base::binary) {
push(boost::iostreams::gzip_decompressor());
push(is);
}
}