gloox  0.9.9.12
Public Member Functions | List of all members
CompressionZlib Class Reference

#include <compressionzlib.h>

Inheritance diagram for CompressionZlib:
Inheritance graph
[legend]
Collaboration diagram for CompressionZlib:
Collaboration graph
[legend]

Public Member Functions

 CompressionZlib (CompressionDataHandler *cdh)
virtual ~CompressionZlib ()
virtual void compress (const std::string &data)
virtual void decompress (const std::string &data)
- Public Member Functions inherited from CompressionBase
 CompressionBase (CompressionDataHandler *cdh)
virtual ~CompressionBase ()

Detailed Description

An implementation of CompressionBase using zlib.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Since
0.9

Definition at line 42 of file compressionzlib.h.

Constructor & Destructor Documentation

Contructor.

Parameters
cdhThe CompressionDataHandler to receive de/compressed data.

Definition at line 22 of file compressionzlib.cpp.

~CompressionZlib ( )
virtual

Virtual Destructor.

Definition at line 47 of file compressionzlib.cpp.

Member Function Documentation

void compress ( const std::string &  data)
virtual

Compresses the given chunk of data.

Parameters
dataThe original (uncompressed) data.

Implements CompressionBase.

Definition at line 53 of file compressionzlib.cpp.

void decompress ( const std::string &  data)
virtual

Decompresses the given chunk of data.

Parameters
dataThe compressed data.

Implements CompressionBase.

Definition at line 84 of file compressionzlib.cpp.


The documentation for this class was generated from the following files: