|
Public Member Functions |
| CZipFileHeader * | AddNewFile (const CZipFileHeader &header, ZIP_INDEX_TYPE uReplaceIndex, int iLevel, bool bRichHeaderTemplateCopy=false) |
| void | Close () |
| void | CloseFile (bool skipCheckingDataDescriptor=false) |
| void | CloseNewFile () |
| void | EnableFindFast (bool bEnable, bool bCaseSensitive) |
| ZIP_INDEX_TYPE | FindFile (LPCTSTR lpszFileName, bool bCaseSensitive, bool bSporadically, bool bFileNameOnly) |
| ZIP_INDEX_TYPE | FindFileNameIndex (LPCTSTR lpszFileName) const |
| void | GetComment (CZipString &szComment) const |
| ZIP_ARRAY_SIZE_TYPE | GetCount () const |
| ZIP_INDEX_TYPE | GetFindFastIndex (ZIP_INDEX_TYPE uFindFastIndex) const |
| void | GetInfo (CInfo &info) const |
| ZIP_SIZE_TYPE | GetSize (bool bWhole=false) const |
| void | Init (CZipStorage *pStorage, ZipArchiveLib::CZipCallbackProvider *pCallbacks, CZipStringStoreSettings *pStringSettings, CZipCentralDir *pSource=NULL) |
| bool | IsConsistencyCheckOn (int iLevel) |
| bool | IsFindFastEnabled () |
| bool | IsValidIndex (ZIP_INDEX_TYPE uIndex) const |
| void | OpenFile (ZIP_INDEX_TYPE uIndex) |
| const CZipFileHeader * | operator[] (ZIP_INDEX_TYPE uIndex) const |
| CZipFileHeader * | operator[] (ZIP_INDEX_TYPE uIndex) |
| void | Read (bool bExhaustiveRead) |
| void | RebuildFindFastArray () |
| void | RemoveAll () |
| void | RemoveFile (CZipFileHeader *pHeader, ZIP_INDEX_TYPE uIndex=ZIP_FILE_INDEX_UNSPECIFIED, bool bShift=true) |
| void | RemoveFromDisk () |
| void | RemoveLastFile (CZipFileHeader *pHeader=NULL, ZIP_INDEX_TYPE uIndex=ZIP_FILE_INDEX_UNSPECIFIED) |
| void | SetComment (LPCTSTR lpszComment) |
| bool | SetFileComment (ZIP_INDEX_TYPE uIndex, LPCTSTR lpszComment) |
| void | Write () |
Public Attributes |
| int | m_iIgnoredChecks |
| ZipArchiveLib::CZipCallbackProvider * | m_pCallbacks |
| CZipFileHeader * | m_pOpenedFile |
| | It points to the currently opened file or it is NULL, if no file is opened.
|
| CZipStorage * | m_pStorage |
| CZipStringStoreSettings * | m_pStringSettings |
Static Public Attributes |
| static char | m_gszSignature [] |
| | The End of Central Directory Record signature.
|
| static char | m_gszSignature64 [] |
| | The Zip64 End of Central Directory Record signature.
|
| static char | m_gszSignature64Locator [] |
| | The Zip64 End of Central Directory Locator signature.
|
Protected Member Functions |
| void | BuildFindFastArray (bool bCaseSensitive) |
|
void | ClearFindFastArray () |
| int | CompareElement (LPCTSTR lpszFileName, ZIP_INDEX_TYPE uIndex) const |
| void | CreateSharedData () |
| void | DestroySharedData () |
| ZIP_INDEX_TYPE | InsertFindFastElement (CZipFileHeader *pHeader, ZIP_INDEX_TYPE uIndex) |
| void | LockAccess () |
| void | ReadHeaders (bool bExhaustiveRead) |
| void | ReadZip64Info () |
| bool | RemoveDataDescr (bool bFromBuffer) |
| void | RemoveHeaders () |
| void | ThrowError (int err) const |
| void | UnlockAccess () |
| void | WriteCentralEnd () |
| void | WriteCentralEnd64 () |
| void | WriteHeaders (bool bOneDisk) |
Static Protected Member Functions |
|
static int | CompareFindFastCollate (const void *pArg1, const void *pArg2) |
|
static int | CompareFindFastCollateNoCase (const void *pArg1, const void *pArg2) |
| static int | CompareHeaders (const void *pArg1, const void *pArg2) |
Protected Attributes |
| CZipArray< CZipFindFast * > * | m_pFindArray |
| CZipArray< CZipFileHeader * > * | m_pHeaders |
| CInfo * | m_pInfo |
Classes |
| struct | CInfo |
| struct | CZipFindFast |
Represents the central directory record in the archive.