Libosmium  2.12.2
Fast and flexible C++ library for working with OpenStreetMap data
Public Member Functions | Private Attributes | List of all members
osmium::io::Bzip2Compressor Class Reference

#include <bzip2_compression.hpp>

Inheritance diagram for osmium::io::Bzip2Compressor:
Inheritance graph
[legend]
Collaboration diagram for osmium::io::Bzip2Compressor:
Collaboration graph
[legend]

Public Member Functions

 Bzip2Compressor (int fd, fsync sync)
 
 ~Bzip2Compressor () noexcept final
 
void write (const std::string &data) final
 
void close () final
 
- Public Member Functions inherited from osmium::io::Compressor
 Compressor (fsync sync)
 
virtual ~Compressor () noexcept
 

Private Attributes

FILE * m_file
 
int m_bzerror
 
BZFILE * m_bzfile
 

Additional Inherited Members

- Protected Member Functions inherited from osmium::io::Compressor
bool do_fsync () const
 

Constructor & Destructor Documentation

◆ Bzip2Compressor()

osmium::io::Bzip2Compressor::Bzip2Compressor ( int  fd,
fsync  sync 
)
inlineexplicit

◆ ~Bzip2Compressor()

osmium::io::Bzip2Compressor::~Bzip2Compressor ( )
inlinefinalnoexcept

Member Function Documentation

◆ close()

void osmium::io::Bzip2Compressor::close ( )
inlinefinalvirtual

◆ write()

void osmium::io::Bzip2Compressor::write ( const std::string &  data)
inlinefinalvirtual

Member Data Documentation

◆ m_bzerror

int osmium::io::Bzip2Compressor::m_bzerror
private

◆ m_bzfile

BZFILE* osmium::io::Bzip2Compressor::m_bzfile
private

◆ m_file

FILE* osmium::io::Bzip2Compressor::m_file
private

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