Ruby: gzfilestream_common Class Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Public Member Functions | Protected Member Functions | Friends
gzfilestream_common Class Reference

`#include <zfstream.h>`

## Public Member Functions
virtual | ~gzfilestream_common ()
void | attach (int fd, int io_mode)
void | open (const char *name, int io_mode)
void | close ()

## Protected Member Functions
| gzfilestream_common ()

## Friends
class | gzifstream
class | gzofstream
gzofstream & | setcompressionlevel (gzofstream &, int)
gzofstream & | setcompressionstrategy (gzofstream &, int)

## Detailed Description

Definition at line 44 of file zfstream.h.

## Constructor & Destructor Documentation

## ◆ ~gzfilestream_common()

virtual gzfilestream_common::~gzfilestream_common | ( |  | ) |
| virtual

## ◆ gzfilestream_common()

gzfilestream_common::gzfilestream_common | ( |  | ) |
| protected

## Member Function Documentation

## ◆ attach()

void gzfilestream_common::attach | ( | int | fd,
|  | int | io_mode
| ) |  |

## ◆ close()

void gzfilestream_common::close | ( |  | ) |

## ◆ open()

void gzfilestream_common::open | ( | const char * | name,
|  | int | io_mode
| ) |  |

## Friends And Related Function Documentation

## ◆ gzifstream

friend class gzifstream
| friend

Definition at line 46 of file zfstream.h.

## ◆ gzofstream

friend class gzofstream
| friend

Definition at line 47 of file zfstream.h.

## ◆ setcompressionlevel

gzofstream & setcompressionlevel | ( | gzofstream & | s,
|  | int | l
| ) |  |
| friend

Definition at line 106 of file zfstream.h.

## ◆ setcompressionstrategy

gzofstream & setcompressionstrategy | ( | gzofstream & | s,
|  | int | l
| ) |  |
| friend

Definition at line 112 of file zfstream.h.

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

- ext/zlib/zlib-1.2.13/contrib/iostream/zfstream.h