DUNE: Uniform Navigational Environment  2019.02.1
DUNE::Compression::ZlibCompressor Class Reference

Public Member Functions

 ZlibCompressor (int a_level=-1)
 
- Public Member Functions inherited from DUNE::Compression::Compressor
 Compressor (int a_level=-1)
 
virtual ~Compressor (void)
 
void compress (char *dst, unsigned long dst_len, char *src, unsigned long src_len)
 
Utils::ByteBuffer compress (char *src, unsigned long src_len)
 
void compress (Utils::ByteBuffer &dst, char *src, unsigned long src_len)
 
Utils::ByteBuffer compress (Utils::ByteBuffer &src)
 
void compress (Utils::ByteBuffer &dst, Utils::ByteBuffer &src)
 
unsigned long compressed (void) const
 
unsigned long compressedTotal (void) const
 
unsigned long processed (void) const
 
unsigned long processedTotal (void) const
 
int level (void) const
 
void level (int a_level)
 

Protected Member Functions

virtual unsigned long compressBlock (char *dst, unsigned long dst_len, char *src, unsigned long src_len)
 
virtual unsigned long compressBound (unsigned long length) const
 

Constructor & Destructor Documentation

DUNE::Compression::ZlibCompressor::ZlibCompressor ( int  a_level = -1)
inline

References compressBlock(), and compressBound().

Member Function Documentation

unsigned long DUNE::Compression::ZlibCompressor::compressBlock ( char *  dst,
unsigned long  dst_len,
char *  src,
unsigned long  src_len 
)
protectedvirtual
unsigned long DUNE::Compression::ZlibCompressor::compressBound ( unsigned long  length) const
protectedvirtual

Reimplemented from DUNE::Compression::Compressor.

Referenced by ZlibCompressor().

Collaboration diagram for DUNE::Compression::ZlibCompressor:
Collaboration graph