#include <UT_Archive.h>
|
enum | format {
format::_ALL,
format::_ZIP,
format::_RAR,
format::_TAR,
format::_RAW,
format::_7ZIP,
format::_AR,
format::_CAB,
format::_CPIO,
format::_ISO9660,
format::_LHA,
format::_MTREE,
format::_XAR
} |
|
enum | filter {
filter::_NONE,
filter::_ALL,
filter::_BZIP2,
filter::_COMPRESS,
filter::_GZIP,
filter::_LZIP,
filter::_LZMA,
filter::_XZ,
filter::_UU,
filter::_RPM,
filter::_LRZIP,
filter::_LZOP,
filter::_GRZIP
} |
|
Definition at line 93 of file UT_Archive.h.
Enumerator |
---|
_NONE |
|
_ALL |
|
_BZIP2 |
|
_COMPRESS |
|
_GZIP |
|
_LZIP |
|
_LZMA |
|
_XZ |
|
_UU |
|
_RPM |
|
_LRZIP |
|
_LZOP |
|
_GRZIP |
|
Definition at line 127 of file UT_Archive.h.
Enumerator |
---|
_ALL |
|
_ZIP |
|
_RAR |
|
_TAR |
|
_RAW |
|
_7ZIP |
|
_AR |
|
_CAB |
|
_CPIO |
|
_ISO9660 |
|
_LHA |
|
_MTREE |
|
_XAR |
|
Definition at line 111 of file UT_Archive.h.
UT_ArchiveReader::~UT_ArchiveReader |
( |
| ) |
|
|
default |
Begin and end iterator suitable for iterating over the entries in the archive.
Definition at line 183 of file UT_Archive.h.
template<format FORMAT = format::_ALL, filter FILTER = filter::_ALL>
Create an archive ready for reading.
Definition at line 190 of file UT_Archive.h.
template<format FORMAT = format::_ALL, filter FILTER = filter::_ALL>
Create an archive ready for reading.
Definition at line 201 of file UT_Archive.h.
Begin and end iterator suitable for iterating over the entries in the archive.
Definition at line 184 of file UT_Archive.h.
Get the current error string for the archive.
Extract the entry from the archive.
template<filter FILTER>
void UT_ArchiveReader::initFilter |
( |
| ) |
|
Init the format and filter for the archive. In most cases create() should be used in favour of these functions.
template<format FORMAT>
void UT_ArchiveReader::initFormat |
( |
| ) |
|
Init the format and filter for the archive. In most cases create() should be used in favour of these functions.
True if the archive can continue to be used.
Get the next entry in the archive.
int UT_ArchiveReader::openFile |
( |
const char * |
filename, |
|
|
size_t |
block_size |
|
) |
| |
Open an archive file. These functions are only used if extra functionality is required. create() should be used in most cases.
int UT_ArchiveReader::openFileW |
( |
const wchar_t * |
filename, |
|
|
size_t |
block_size |
|
) |
| |
Open an archive file. These functions are only used if extra functionality is required. create() should be used in most cases.
UT_ArchiveReader::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Read the contents of the entry into the workbuffer.
Helper to read a specific file from an archive file.
Definition at line 231 of file UT_Archive.h.
int UT_ArchiveReader::readSkip |
( |
| ) |
|
The documentation for this class was generated from the following file: