Go to the documentation of this file.
30 }
else if (
io_mode & ios::app ) {
72 }
else if (
io_mode & ios::app ) {
93 if ( (
file =
gzdopen(file_descriptor, char_mode)) == NULL )
131 return streampos(EOF);
144 if ( (allocate()) == EOF )
151 return (
unsigned char) *gptr();
153 if ( out_waiting() ) {
169 return (
unsigned char) *gptr();
179 if ( allocate() == EOF )
246 if ( t <= 0)
return EOF;
264 clear( ios::failbit | ios::badbit );
273 clear( ios::failbit | ios::badbit );
282 clear( ios::failbit | ios::badbit );
294 clear( ios::badbit );
314 clear( ios::badbit );
virtual ~gzfilestream_common()
gzfilebuf * attach(int file_descriptor, int io_mode)
int setcompressionlevel(int comp_level)
short own_file_descriptor
void attach(int fd, int io_mode)
int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len)
void open(const char *name, int io_mode)
Gzipped file stream buffer class.
virtual int overflow(int=EOF)
int setcompressionstrategy(int comp_strategy)
std::ios_base::openmode io_mode
gzFile ZEXPORT gzopen(char *path, const char *mode) const
gzFile ZEXPORT gzdopen(int fd, const char *mode)
int ZEXPORT gzclose(gzFile file)
int ZEXPORT gzread(gzFile file, voidp buf, unsigned len)
virtual streampos seekoff(streamoff, ios::seek_dir, int)
gzfilebuf * open(const char *name, int io_mode)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:00