mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
19 lines
430 B
C++
19 lines
430 B
C++
//
|
|
#include <RDGeneral/export.h>
|
|
#ifdef RDK_USE_BOOST_IOSTREAMS
|
|
|
|
#include <boost/iostreams/device/file.hpp>
|
|
#include <boost/iostreams/filtering_stream.hpp>
|
|
#include <boost/iostreams/filter/gzip.hpp>
|
|
|
|
namespace RDKit {
|
|
// gzstream from a file
|
|
class RDKIT_RDSTREAMS_EXPORT gzstream
|
|
: public boost::iostreams::filtering_istream {
|
|
std::ifstream is;
|
|
|
|
public:
|
|
gzstream(const std::string &fname);
|
|
};
|
|
} // namespace RDKit
|
|
#endif |