Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <gzip_compression.hpp>
Public Member Functions | |
GzipBufferDecompressor (const char *buffer, const std::size_t size) | |
GzipBufferDecompressor (const GzipBufferDecompressor &)=delete | |
GzipBufferDecompressor & | operator= (const GzipBufferDecompressor &)=delete |
GzipBufferDecompressor (GzipBufferDecompressor &&)=delete | |
GzipBufferDecompressor & | operator= (GzipBufferDecompressor &&)=delete |
~GzipBufferDecompressor () noexcept override | |
std::string | read () override |
void | close () override |
Public Member Functions inherited from osmium::io::Decompressor | |
Decompressor ()=default | |
Decompressor (const Decompressor &)=delete | |
Decompressor & | operator= (const Decompressor &)=delete |
Decompressor (Decompressor &&)=delete | |
Decompressor & | operator= (Decompressor &&)=delete |
virtual | ~Decompressor () noexcept=default |
virtual std::string | read ()=0 |
virtual void | close ()=0 |
virtual bool | is_real () const noexcept |
void | set_offset_ptr (std::atomic< std::size_t > *offset_ptr) noexcept |
void | set_offset (const std::size_t offset) noexcept |
bool | want_buffered_pages_removed () const noexcept |
void | set_want_buffered_pages_removed (bool value) noexcept |
Private Attributes | |
const char * | m_buffer |
std::size_t | m_buffer_size |
z_stream | m_zstream |
Additional Inherited Members | |
Public Types inherited from osmium::io::Decompressor | |
enum | { input_buffer_size = 1024U * 1024U } |
|
inline |
|
delete |
|
delete |
|
inlineoverridenoexcept |
|
inlineoverridevirtual |
Implements osmium::io::Decompressor.
|
delete |
|
delete |
|
inlineoverridevirtual |
Implements osmium::io::Decompressor.
|
private |
|
private |
|
private |