Libosmium  2.11.0
Fast and flexible C++ library for working with OpenStreetMap data
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
osmium::io::Compressor Class Referenceabstract

#include <compression.hpp>

Inheritance diagram for osmium::io::Compressor:
Inheritance graph
[legend]

Public Member Functions

 Compressor (fsync sync)
 
virtual ~Compressor () noexcept
 
virtual void write (const std::string &data)=0
 
virtual void close ()=0
 

Protected Member Functions

bool do_fsync () const
 

Private Attributes

fsync m_fsync
 

Constructor & Destructor Documentation

◆ Compressor()

osmium::io::Compressor::Compressor ( fsync  sync)
inlineexplicit

◆ ~Compressor()

virtual osmium::io::Compressor::~Compressor ( )
inlinevirtualnoexcept

Member Function Documentation

◆ close()

virtual void osmium::io::Compressor::close ( )
pure virtual

◆ do_fsync()

bool osmium::io::Compressor::do_fsync ( ) const
inlineprotected

◆ write()

virtual void osmium::io::Compressor::write ( const std::string &  data)
pure virtual

Member Data Documentation

◆ m_fsync

fsync osmium::io::Compressor::m_fsync
private

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