Public Member Functions | Private Attributes | List of all members
ozstream Class Reference

#include <zstream.h>

Public Member Functions

int close ()
 
int close ()
 
const char * error (int *errnum)
 
const char * error (int *errnum)
 
int flush (int _flush)
 
int flush (int _flush)
 
gzFile fp ()
 
gzFile fp ()
 
void open (const char *name, int level=Z_DEFAULT_COMPRESSION)
 
void open (const char *name, int level=Z_DEFAULT_COMPRESSION)
 
void open (FILE *fp, int level=Z_DEFAULT_COMPRESSION)
 
void open (FILE *fp, int level=Z_DEFAULT_COMPRESSION)
 
ostream & os ()
 
ostream & os ()
 
void os_flush ()
 
void os_flush ()
 
 ozstream ()
 
 ozstream ()
 
 ozstream (const char *name, int level=Z_DEFAULT_COMPRESSION)
 
 ozstream (const char *name, int level=Z_DEFAULT_COMPRESSION)
 
 ozstream (FILE *fp, int level=Z_DEFAULT_COMPRESSION)
 
 ozstream (FILE *fp, int level=Z_DEFAULT_COMPRESSION)
 
int write (const void *buf, size_t len)
 
int write (const void *buf, size_t len)
 
 ~ozstream ()
 
 ~ozstream ()
 

Private Attributes

gzFile m_fp
 
ostrstream * m_os
 

Detailed Description

Definition at line 155 of file bloaty/third_party/zlib/contrib/iostream2/zstream.h.

Constructor & Destructor Documentation

◆ ozstream() [1/6]

ozstream::ozstream ( )
inline

◆ ozstream() [2/6]

ozstream::ozstream ( FILE *  fp,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

◆ ozstream() [3/6]

ozstream::ozstream ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

◆ ~ozstream() [1/2]

ozstream::~ozstream ( )
inline

◆ ozstream() [4/6]

ozstream::ozstream ( )
inline

Definition at line 158 of file zlib/contrib/iostream2/zstream.h.

◆ ozstream() [5/6]

ozstream::ozstream ( FILE *  fp,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 160 of file zlib/contrib/iostream2/zstream.h.

◆ ozstream() [6/6]

ozstream::ozstream ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 164 of file zlib/contrib/iostream2/zstream.h.

◆ ~ozstream() [2/2]

ozstream::~ozstream ( )
inline

Definition at line 168 of file zlib/contrib/iostream2/zstream.h.

Member Function Documentation

◆ close() [1/2]

int ozstream::close ( )
inline

◆ close() [2/2]

int ozstream::close ( )
inline

Definition at line 198 of file zlib/contrib/iostream2/zstream.h.

◆ error() [1/2]

const char* ozstream::error ( int errnum)
inline

◆ error() [2/2]

const char* ozstream::error ( int errnum)
inline

Definition at line 230 of file zlib/contrib/iostream2/zstream.h.

◆ flush() [1/2]

int ozstream::flush ( int  _flush)
inline

◆ flush() [2/2]

int ozstream::flush ( int  _flush)
inline

Definition at line 219 of file zlib/contrib/iostream2/zstream.h.

◆ fp() [1/2]

gzFile ozstream::fp ( )
inline

Definition at line 234 of file zlib/contrib/iostream2/zstream.h.

◆ fp() [2/2]

gzFile ozstream::fp ( )
inline

◆ open() [1/4]

void ozstream::open ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 177 of file zlib/contrib/iostream2/zstream.h.

◆ open() [2/4]

void ozstream::open ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

◆ open() [3/4]

void ozstream::open ( FILE *  fp,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 186 of file zlib/contrib/iostream2/zstream.h.

◆ open() [4/4]

void ozstream::open ( FILE *  fp,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

◆ os() [1/2]

ostream& ozstream::os ( )
inline

◆ os() [2/2]

ostream& ozstream::os ( )
inline

Definition at line 236 of file zlib/contrib/iostream2/zstream.h.

◆ os_flush() [1/2]

void ozstream::os_flush ( )
inline

◆ os_flush() [2/2]

void ozstream::os_flush ( )
inline

Definition at line 241 of file zlib/contrib/iostream2/zstream.h.

◆ write() [1/2]

int ozstream::write ( const void *  buf,
size_t  len 
)
inline

◆ write() [2/2]

int ozstream::write ( const void *  buf,
size_t  len 
)
inline

Definition at line 208 of file zlib/contrib/iostream2/zstream.h.

Member Data Documentation

◆ m_fp

gzFile ozstream::m_fp
private

◆ m_os

ostrstream * ozstream::m_os
private

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:47