DUNE: Uniform Navigational Environment
2.3.2
|
Public Member Functions | |
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)=0 |
virtual unsigned long | compressBound (unsigned long length) const |
|
inline |
|
inlinevirtual |
void DUNE::Compression::Compressor::compress | ( | char * | dst, |
unsigned long | dst_len, | ||
char * | src, | ||
unsigned long | src_len | ||
) |
References compressBlock().
Referenced by compress(), and DUNE::Compression::StreamBuffer::sync().
Utils::ByteBuffer DUNE::Compression::Compressor::compress | ( | char * | src, |
unsigned long | src_len | ||
) |
References compress().
void DUNE::Compression::Compressor::compress | ( | Utils::ByteBuffer & | dst, |
char * | src, | ||
unsigned long | src_len | ||
) |
Utils::ByteBuffer DUNE::Compression::Compressor::compress | ( | Utils::ByteBuffer & | src | ) |
void DUNE::Compression::Compressor::compress | ( | Utils::ByteBuffer & | dst, |
Utils::ByteBuffer & | src | ||
) |
|
protectedpure virtual |
Implemented in DUNE::Compression::Bzip2Compressor, DUNE::Compression::GzipCompressor, and DUNE::Compression::ZlibCompressor.
Referenced by compress().
|
inlineprotectedvirtual |
Reimplemented in DUNE::Compression::ZlibCompressor.
Referenced by compress().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |