mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
12 lines
299 B
C++
12 lines
299 B
C++
#include "streams.h"
|
|
#ifdef RDK_USE_BOOST_IOSTREAMS
|
|
|
|
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);
|
|
}
|
|
} // namespace RDKit
|
|
#endif |