Libosmium
2.20.0
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <compression.hpp>
Public Member Functions | |
DummyDecompressor ()=default | |
DummyDecompressor (const DummyDecompressor &)=delete | |
DummyDecompressor & | operator= (const DummyDecompressor &)=delete |
DummyDecompressor (DummyDecompressor &&)=delete | |
DummyDecompressor & | operator= (DummyDecompressor &&)=delete |
~DummyDecompressor () noexcept override=default | |
std::string | read () override |
void | close () override |
bool | is_real () const noexcept 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 |
Additional Inherited Members | |
Public Types inherited from osmium::io::Decompressor | |
enum | { input_buffer_size = 1024U * 1024U } |
The DummyDecompressor is used when reading PBF files. In that case the PBFParser class is responsible for reading from the file itself, and the DummyDecompressor does nothing.
|
default |
|
delete |
|
delete |
|
overridedefaultnoexcept |
|
inlineoverridevirtual |
Implements osmium::io::Decompressor.
|
inlineoverridevirtualnoexcept |
Reimplemented from osmium::io::Decompressor.
|
delete |
|
delete |
|
inlineoverridevirtual |
Implements osmium::io::Decompressor.