NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
Public Member Functions | |
TUnzip (const char *pwd) | |
~TUnzip () | |
ZRESULT | Open (void *z, unsigned int len, DWORD flags) |
ZRESULT | Get (int index, ZIPENTRY *ze) |
ZRESULT | Find (const TCHAR *name, bool ic, int *index, ZIPENTRY *ze) |
ZRESULT | Unzip (int index, void *dst, unsigned int len, DWORD flags) |
ZRESULT | SetUnzipBaseDir (const TCHAR *dir) |
ZRESULT | Close () |
Public Attributes | |
unzFile | uf |
int | currentfile |
ZIPENTRY | cze |
int | czei |
char * | password |
char * | unzbuf |
TCHAR | rootdir [MAX_PATH] |
|
inline |
|
inline |
ZRESULT TUnzip::Close | ( | ) |
Definition at line 4527 of file unzip.cpp.
References currentfile, uf, unzClose(), unzCloseCurrentFile(), and ZR_OK.
Referenced by CloseZipU().
Definition at line 4308 of file unzip.cpp.
References CASE_INSENSITIVE, CASE_SENSITIVE, currentfile, Get(), if(), ZIPENTRY::index, name, unz_s::num_file, uf, UNZ_OK, unzCloseCurrentFile(), unzLocateFile(), ZR_NOTFOUND, and ZR_OK.
Referenced by FindZipItem().
Definition at line 4108 of file unzip.cpp.
References _T, ZIPENTRY::atime, ZIPENTRY::attr, ZIPENTRY::comp_size, unz_file_info_s::compressed_size, ZIPENTRY::ctime, currentfile, cze, czei, unz_file_info_s::dosDate, dosdatetime2filetime(), unz_file_info_s::external_fa, unz_s::file, unz_s::gi, ZIPENTRY::index, lufread(), lufseek(), ZIPENTRY::mtime, ZIPENTRY::name, unz_s::num_file, unz_global_info_s::number_entry, timet2filetime(), uf, ZIPENTRY::unc_size, unz_file_info_s::uncompressed_size, UNZ_OK, unzCloseCurrentFile(), unzGetCurrentFileInfo(), unzGoToFirstFile(), unzGoToNextFile(), unzlocal_CheckCurrentFileCoherencyHeader(), unz_file_info_s::version, ZR_ARGS, ZR_CORRUPT, ZR_OK, and ZR_READ.
Referenced by Find(), GetZipItem(), and Unzip().
ZRESULT TUnzip::Open | ( | void * | z, |
unsigned int | len, | ||
DWORD | flags | ||
) |
Definition at line 4067 of file unzip.cpp.
References _T, currentfile, lufopen(), rootdir, uf, unzOpenInternal(), ZIP_HANDLE, ZR_NOFILE, ZR_NOTINITED, ZR_OK, and ZR_SEEK.
Referenced by OpenZipInternal().
ZRESULT TUnzip::SetUnzipBaseDir | ( | const TCHAR * | dir | ) |
ZRESULT TUnzip::Unzip | ( | int | index, |
void * | dst, | ||
unsigned int | len, | ||
DWORD | flags | ||
) |
Definition at line 4375 of file unzip.cpp.
References _T, ZIPENTRY::atime, ZIPENTRY::attr, ZIPENTRY::ctime, currentfile, EnsureDirectory(), Get(), unz_s::gi, ZIPENTRY::mtime, name, unz_s::num_file, unz_global_info_s::number_entry, password, rootdir, uf, UNZ_PASSWORD, unzbuf, unzCloseCurrentFile(), unzGoToFirstFile(), unzGoToNextFile(), unzOpenCurrentFile(), unzReadCurrentFile(), ZIP_FILENAME, ZIP_HANDLE, ZIP_MEMORY, ZR_ARGS, ZR_FLATE, ZR_MORE, ZR_NOFILE, ZR_OK, ZR_PASSWORD, and ZR_WRITE.
Referenced by UnzipItemInternal().
int TUnzip::currentfile |
char* TUnzip::password |
TCHAR TUnzip::rootdir[MAX_PATH] |
Definition at line 4056 of file unzip.cpp.
Referenced by Open(), SetUnzipBaseDir(), and Unzip().
unzFile TUnzip::uf |
char* TUnzip::unzbuf |