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

#include <gzip_compression.hpp>

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

Public Member Functions

 GzipCompressor (int fd, fsync sync)
 
 ~GzipCompressor () 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

int m_fd
 
gzFile m_gzfile
 

Additional Inherited Members

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

Constructor & Destructor Documentation

§ GzipCompressor()

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

§ ~GzipCompressor()

osmium::io::GzipCompressor::~GzipCompressor ( )
inlinefinalnoexcept

Member Function Documentation

§ close()

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

§ write()

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

Member Data Documentation

§ m_fd

int osmium::io::GzipCompressor::m_fd
private

§ m_gzfile

gzFile osmium::io::GzipCompressor::m_gzfile
private

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