|
libzipper 1.0.1
|
Compressor creates a compressed archive from the supplied Reader objects. data. More...
#include <zipper.hh>
Public Member Functions | |
| Compressor (ContainerFormat format, const WriterPtr &writer) | |
| Compressor (ContainerFormat format, Writer &writer) | |
| ~Compressor () | |
| Compressor dtor. | |
| void | addFile (const Reader &reader) |
Compressor creates a compressed archive from the supplied Reader objects. data.
| zipper::Compressor::Compressor | ( | ContainerFormat | format, |
| const WriterPtr & | writer | ||
| ) |
Create a Compressor to output the given compressed archived format to writer.
| writer | destination of the compressed data |
| format | determines the output archive file type to create. |
| zipper::Compressor::Compressor | ( | ContainerFormat | format, |
| Writer & | writer | ||
| ) |
Create a Compressor to output the given compressed archived format to writer.
| writer | is the destination of the compressed data. writer must remain in scope for the lifetime of the Compressor. |
| format | determines the output archive file type to create. |
| zipper::Compressor::~Compressor | ( | ) |
Compressor dtor.
Additional data may be passed to writer (given in ctor) to close the compressed archive.
| void zipper::Compressor::addFile | ( | const Reader & | reader | ) |
Compress the data given by reader, and add it to the compressed archive.
1.7.4