#include <compressionbase.h>
Detailed Description
This is an abstract base class for stream compression implementations.
You should not need to use this class directly.
- Author
- Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
- Since
- 0.9
Definition at line 34 of file compressionbase.h.
Constructor & Destructor Documentation
Contructor.
- Parameters
-
cdh | A CompressionDataHandler-derived object that will be notified about finished de/compression. |
Definition at line 42 of file compressionbase.h.
Member Function Documentation
virtual void compress |
( |
const std::string & |
data | ) |
|
|
pure virtual |
virtual void decompress |
( |
const std::string & |
data | ) |
|
|
pure virtual |
This function initializes the compression module. it is mandatory to be called.
- Returns
- True if the module was initialized successfully, false otherwise.
Implemented in CompressionDefault, and CompressionZlib.
Member Data Documentation
The documentation for this class was generated from the following file: