RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Classes | Public Member Functions | Protected Member Functions
Datacratic::LzmaCompressor Struct Reference
Inheritance diagram for Datacratic::LzmaCompressor:
Datacratic::Filter Datacratic::Compressor Datacratic::LzmaDecompressor

List of all members.

Classes

struct  Itl

Public Member Functions

virtual size_t compress (const char *data, size_t len, const OnData &onData)
virtual size_t flush (FlushLevel flushLevel, const OnData &onData)
virtual size_t finish (const OnData &onData)
 LzmaCompressor (int level=6)
virtual void process (const char *src_begin, const char *src_end, FlushLevel level, boost::function< void()> onMessageDone)

Protected Member Functions

 LzmaCompressor (Direction direction)

Detailed Description

Definition at line 120 of file compressor.h.


Member Function Documentation

virtual size_t Datacratic::LzmaCompressor::compress ( const char *  data,
size_t  len,
const OnData &  onData 
) [virtual]

Compress the given data block, and write the result into the given buffer. Returns the number of output bytes written to consume the entire input buffer.

This will call onData zero or more times.

Implements Datacratic::Compressor.

virtual size_t Datacratic::LzmaCompressor::finish ( const OnData &  onData) [virtual]

Finish the stream... no more data can be written to it afterwards, and everything will be put into the compression

Implements Datacratic::Compressor.

virtual size_t Datacratic::LzmaCompressor::flush ( FlushLevel  flushLevel,
const OnData &  onData 
) [virtual]

Flush the stream at the given flush level. This will call onData zero or more times.

Implements Datacratic::Compressor.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator