libzipper 1.0.1
|
Decompressor detects the compressed archive type of the data, and creates suitable CompressedFile instances to access the compressed data. More...
#include <zipper.hh>
Public Member Functions | |
Decompressor (const ReaderPtr &reader) | |
Create a decompressor from the data made available by reader. | |
Decompressor (Reader &reader) | |
~Decompressor () | |
Decompressor dtor. | |
ContainerFormat | getContainerFormat () const |
Return the detected Container type of the compressed archive. | |
std::vector< CompressedFilePtr > | getEntries () const |
Decompressor detects the compressed archive type of the data, and creates suitable CompressedFile instances to access the compressed data.
zipper::Decompressor::Decompressor | ( | Reader & | reader | ) |
Create a decompressor from the data made available by reader.
reader | must remain in scope for the lifetime of the Decompressor, and lifetime of any CompressedFile objects returned from getEntries() |
std::vector<CompressedFilePtr> zipper::Decompressor::getEntries | ( | ) | const |
Return CompressedFile entries to represent the file entries within a compressed archive.