#include <compressionbase.h>
This is an abstract base class for stream compression implementations.
You should not need to use this class directly.
- Author
- Jakob Schröter js@ca.nosp@m.maya.nosp@m..net
- Since
- 0.9
Definition at line 34 of file compressionbase.h.
◆ CompressionBase()
Contructor.
- Parameters
-
| cdh | A CompressionDataHandler-derived object that will be notified about finished de/compression. |
Definition at line 42 of file compressionbase.h.
◆ ~CompressionBase()
◆ cleanup()
◆ compress()
| virtual void compress |
( |
const std::string & | data | ) |
|
|
pure virtual |
◆ decompress()
| virtual void decompress |
( |
const std::string & | data | ) |
|
|
pure virtual |
◆ init()
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.
◆ m_handler
◆ m_valid
The documentation for this class was generated from the following file: