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