CernVM-FS
2.12.0
|
#include <compression.h>
Public Member Functions | |
EchoCompressor (const Algorithms &alg) | |
bool | Deflate (const bool flush, unsigned char **inbuf, size_t *inbufsize, unsigned char **outbuf, size_t *outbufsize) |
size_t | DeflateBound (const size_t bytes) |
Compressor * | Clone () |
Public Member Functions inherited from zlib::Compressor | |
Compressor (const Algorithms &) | |
virtual | ~Compressor () |
Public Member Functions inherited from PolymorphicConstructionImpl< Compressor, Algorithms, void > | |
virtual | ~PolymorphicConstructionImpl () |
Static Public Member Functions | |
static bool | WillHandle (const zlib::Algorithms &alg) |
Static Public Member Functions inherited from zlib::Compressor | |
static void | RegisterPlugins () |
Static Public Member Functions inherited from PolymorphicConstruction< Compressor, Algorithms > | |
static IntrospectionData | Introspect () |
Static Public Member Functions inherited from PolymorphicConstructionImpl< Compressor, Algorithms, void > | |
static Compressor * | Construct (const Algorithms ¶m) |
Additional Inherited Members | |
Public Types inherited from PolymorphicConstruction< Compressor, Algorithms > | |
typedef std::vector< void > | IntrospectionData |
Protected Types inherited from PolymorphicConstructionImpl< Compressor, Algorithms, void > | |
typedef AbstractFactory < Compressor, Algorithms, void > | Factory |
typedef std::vector< Factory * > | RegisteredPlugins |
Protected Member Functions inherited from PolymorphicConstructionImpl< Compressor, Algorithms, void > | |
virtual bool | Initialize () |
Static Protected Member Functions inherited from PolymorphicConstructionImpl< Compressor, Algorithms, void > | |
static void | LazilyRegisterPlugins () |
static void | RegisterPlugin () |
Static Protected Attributes inherited from PolymorphicConstructionImpl< Compressor, Algorithms, void > | |
static RegisteredPlugins | registered_plugins_ |
Definition at line 116 of file compression.h.
|
explicit |
Definition at line 942 of file compression.cc.
Referenced by Clone().
|
virtual |
Implements zlib::Compressor.
Definition at line 953 of file compression.cc.
|
virtual |
Deflate function. The arguments and returns closely match the input and output of the zlib deflate function. Input:
Implements zlib::Compressor.
Definition at line 958 of file compression.cc.
|
virtual |
Return an upper bound on the number of bytes required in order to compress an input number of bytes. Returns: Upper bound on the number of bytes required to compress.
Implements zlib::Compressor.
Definition at line 976 of file compression.cc.
|
static |
Definition at line 948 of file compression.cc.