Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <bzip2_compression.hpp>
Public Member Functions | |
Bzip2BufferDecompressor (const char *buffer, const std::size_t size) | |
Bzip2BufferDecompressor (const Bzip2BufferDecompressor &)=delete | |
Bzip2BufferDecompressor & | operator= (const Bzip2BufferDecompressor &)=delete |
Bzip2BufferDecompressor (Bzip2BufferDecompressor &&)=delete | |
Bzip2BufferDecompressor & | operator= (Bzip2BufferDecompressor &&)=delete |
~Bzip2BufferDecompressor () 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 |
bz_stream | m_bzstream |
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 |