#include <zstream.h>

Public Member Functions | |
| DecompressionBuffer () | |
| Creates a new decompression stream buffer. | |
| DecompressionBuffer (const char *path) | |
| Creates a new decompression stream buffer that reads from the given file. | |
| int | open (const char *path) |
| Opens the given file for decompressed reading. | |
The standard zlib compression library is used.
This buffer is designed for use with standard C++ I/O streams.
This stream buffer should not be used for output.
| regina::DecompressionBuffer::DecompressionBuffer | ( | ) | [inline] |
Creates a new decompression stream buffer.
| regina::DecompressionBuffer::DecompressionBuffer | ( | const char * | path | ) | [inline] |
Creates a new decompression stream buffer that reads from the given file.
The underlying file will be opened automatically.
| path | the pathname of the new file to open. |
| int regina::DecompressionBuffer::open | ( | const char * | path | ) | [inline] |
Opens the given file for decompressed reading.
If a file is already open, it will be closed before the new file is opened.
| path | the pathname of the new file to open. |