gloox
0.9.9.12
|
#include <compressionbase.h>
Public Member Functions | |
CompressionBase (CompressionDataHandler *cdh) | |
virtual | ~CompressionBase () |
virtual void | compress (const std::string &data)=0 |
virtual void | decompress (const std::string &data)=0 |
This is an abstract base class for stream compression implementations.
You should not need to use this class directly.
Definition at line 34 of file compressionbase.h.
|
inline |
Contructor.
cdh | A CompressionDataHandler-derived object that will be notified about finished de/compression. |
Definition at line 42 of file compressionbase.h.
|
inlinevirtual |
Virtual Destructor.
Definition at line 47 of file compressionbase.h.
|
pure virtual |
Compresses the given chunk of data.
data | The original (uncompressed) data. |
Implemented in CompressionZlib.
|
pure virtual |
Decompresses the given chunk of data.
data | The compressed data. |
Implemented in CompressionZlib.