35 #ifndef OPENMS_FORMAT_GZIPIFSTREAM_H 36 #define OPENMS_FORMAT_GZIPIFSTREAM_H 38 #include <OpenMS/config.h> 72 size_t read(
char * s,
size_t n);
79 bool streamEnd()
const;
91 void open(
const char * filename);
139 return gzfile_ != NULL;
144 return stream_at_end_;
154 #endif //OPENMS_FORMAT_GZIPIFSTREAM_H Decompresses files which are compressed in the gzip format (*.gzip)
Definition: GzipIfstream.h:46
bool streamEnd() const
indicates whether the read function can be used safely
Definition: GzipIfstream.h:142
bool stream_at_end_
true if end of file is reached
Definition: GzipIfstream.h:125
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
int gzerror_
saves the last returned error by the read function
Definition: GzipIfstream.h:123
bool isOpen() const
returns whether a file is open.
Definition: GzipIfstream.h:137
gzFile gzfile_
a gzFile object(void*) . Necessary for decompression
Definition: GzipIfstream.h:119
int n_buffer_
counts the last read duffer
Definition: GzipIfstream.h:121