67 std::ios_base::openmode
mode);
77 std::ios_base::openmode mode);
102 virtual std::streamsize
125 overflow(int_type
c = traits_type::eof());
135 virtual std::streambuf*
191 std::ios_base::openmode io_mode;
215 std::streamsize buffer_size;
285 open(
const char* name,
374 open(
const char* name,
412 template<
typename T1,
typename T2>
417 template <
typename Ta,
typename Tb>
447 template<
typename T1,
typename T2>
452 :
func(
f), val1(v1), val2(v2)
456 template<
typename T1,
typename T2>
458 operator<<(gzofstream& s, const gzomanip2<T1,T2>&
m)
459 {
return (*
m.func)(
s,
m.val1,
m.val2); }
GLfloat GLfloat GLfloat v2
gzfilebuf * attach(int file_descriptor, int io_mode)
Gzipped file output stream manipulator class.
Gzipped file output stream class.
virtual std::streambuf * setbuf(char_type *p, std::streamsize n)
Installs external stream buffer.
gzfilebuf * open(const char *name, int io_mode)
int setcompression(int comp_level, int comp_strategy=Z_DEFAULT_STRATEGY)
Set compression level and strategy on the fly.
bool is_open() const
Check if file is open.
bool is_open()
Check if file is open.
bool is_open()
Check if file is open.
local int out(void *out_desc, unsigned char *buf, unsigned len)
Gzipped file stream buffer class.
gzfilebuf * rdbuf() const
Obtain underlying stream buffer.
#define Z_DEFAULT_STRATEGY
gzofstream & operator<<(gzofstream &s, const gzomanip< T > &m)
gzomanip2(gzofstream &(*f)(gzofstream &, T1, T2), T1 v1, T2 v2)
gzfilebuf * rdbuf() const
Obtain underlying stream buffer.
Gzipped file input stream class.
GLuint const GLchar * name
bool open_mode(std::ios_base::openmode mode, char *c_mode) const
Convert ios open mode int to mode string used by zlib.
virtual std::streamsize showmanyc()
Number of characters available in stream buffer.
virtual int overflow(int=EOF)
gzofstream & setcompression(gzofstream &gzs, int l, int s=Z_DEFAULT_STRATEGY)