11#include <OpenMS/config.h>
54 size_t read(
char * s,
size_t n);
61 bool streamEnd()
const;
73 void open(
const char * filename);
Decompresses files which are compressed in the gzip format (*.gzip)
Definition GzipIfstream.h:29
bool isOpen() const
returns whether a file is open.
Definition GzipIfstream.h:121
int gzerror_
saves the last returned error by the read function
Definition GzipIfstream.h:107
int n_buffer_
counts the last read duffer
Definition GzipIfstream.h:105
GzipIfstream & operator=(const GzipIfstream &bzip2)
void open(const char *filename)
opens a file for reading (decompression)
void close()
closes current file.
bool stream_at_end_
true if end of file is reached
Definition GzipIfstream.h:109
GzipIfstream(const char *filename)
Detailed constructor with filename.
GzipIfstream(const GzipIfstream &bzip2)
not implemented
size_t read(char *s, size_t n)
Reads n bytes from the bzip2 compressed file into buffer s.
GzipIfstream()
Default Constructor.
virtual ~GzipIfstream()
Destructor.
gzFile_s * gzfile_
Definition GzipIfstream.h:103
bool streamEnd() const
indicates whether the read function can be used safely
Definition GzipIfstream.h:126
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19