|
| enum | CloseAfterException { afNoException
, afAfterException
, afWriteDir
} |
| enum | CommitMode { cmManual
, cmOnChange
} |
| enum | ConsistencyCheck {
checkNone
, checkCRC = 0x0001
, checkLocalMethod = 0x0002
, checkLocalSizes = 0x0004
,
checkLocalCRC = 0x0008
, checkLocalFlag = 0x0010
, checkLocalAll = checkLocalMethod | checkLocalSizes | checkLocalCRC | checkLocalFlag
, checkDataDescriptor = 0x0100
,
checkVolumeEntries = 0x0200
, checkDecryptionVerifier = 0x0400
, checkTrimmedCentralDir = 0x0800
, checkInvalidExtraData = 0x1000
,
checkAll = checkCRC | checkLocalAll | checkDataDescriptor | checkVolumeEntries | checkDecryptionVerifier | checkTrimmedCentralDir | checkInvalidExtraData
, checkIgnoredByDefault = checkDataDescriptor | checkVolumeEntries
} |
| enum | FFCaseSens { ffDefault
, ffCaseSens
, ffNoCaseSens
} |
| enum | OpenMode {
zipOpen = 0x0001
, zipOpenReadOnly = zipOpen | 0x0002
, zipCreate = 0x0004
, zipCreateAppend = zipCreate | 0x0008
,
zipModeSplit = 0x0100
, zipModeBinSplit = 0x0200
, zipModeSpan = 0x0400
, zipModeSegmented = zipModeSplit | zipModeBinSplit | zipModeSpan
,
zipCreateSplit = zipCreate | zipModeSplit
, zipCreateBinSplit = zipCreate | zipModeBinSplit
, zipCreateSpan = zipCreate | zipModeSpan
, zipOpenSplit = zipOpenReadOnly | zipModeSplit
,
zipOpenBinSplit = zipOpenReadOnly | zipModeBinSplit
} |
| enum | Predict { prDir
, prFile
, prAuto
} |
| enum | SegmCallbackType { scSpan = 0x01
, scSplit = 0x02
, scAll = scSpan | scSplit
} |
| enum | Smartness {
zipsmLazy = 0x0000
, zipsmCPassDir = 0x0001
, zipsmCPFile0 = 0x0002
, zipsmNotCompSmall = 0x0004
,
zipsmCheckForEff = 0x0008
, zipsmMemoryFlag = 0x0010
, zipsmCheckForEffInMem = zipsmMemoryFlag | zipsmCheckForEff
, zipsmSmartPass = zipsmCPassDir | zipsmCPFile0
,
zipsmSmartAdd = zipsmNotCompSmall | zipsmCheckForEff
, zipsmSafeSmart = zipsmSmartPass | zipsmNotCompSmall
, zipsmSmartest = zipsmSmartPass | zipsmSmartAdd
, zipsmIgnoreDirectories = 0x0020
,
zipsmInternal01 = 0xf000
} |
| enum | SpecialFlags { sfNone
, sfExhaustiveRead = 0x0001
, sfLargeNotZip64 = 0x0002
} |
| enum | UnicodeMode {
umNone = 0x00
, umExtra = 0x01
, umString = 0x02
, umAll = umExtra | umString
,
umCustom = 0x04
} |
|
| bool | AddNewFile (CZipAbstractFile &af, LPCTSTR lpszFileNameInZip, int iComprLevel=CZipCompressor::levelDefault, int iSmartLevel=zipsmSafeSmart, unsigned long nBufSize=65536) |
| bool | AddNewFile (CZipAddNewFileInfo &info) |
| bool | AddNewFile (LPCTSTR lpszFilePath, int iComprLevel=CZipCompressor::levelDefault, bool bFullPath=true, int iSmartLevel=zipsmSafeSmart, unsigned long nBufSize=65536) |
| bool | AddNewFile (LPCTSTR lpszFilePath, LPCTSTR lpszFileNameInZip, int iComprLevel=CZipCompressor::levelDefault, int iSmartLevel=zipsmSafeSmart, unsigned long nBufSize=65536) |
| bool | AddNewFiles (CZipAddFilesEnumerator &addFilesEnumerator, ZipArchiveLib::CFileFilter &filter, bool bSkipInitialPath=true) |
| bool | AddNewFiles (LPCTSTR lpszPath, LPCTSTR lpszFileMask=_T("*.*"), bool bRecursive=true, int iComprLevel=CZipCompressor::levelDefault, bool bSkipInitialPath=true, int iSmartLevel=zipsmSafeSmart, unsigned long nBufSize=65536) |
| bool | AddNewFiles (LPCTSTR lpszPath, ZipArchiveLib::CFileFilter &filter, bool bRecursive=true, int iComprLevel=CZipCompressor::levelDefault, bool bSkipInitialPath=true, int iSmartLevel=zipsmSafeSmart, unsigned long nBufSize=65536) |
| bool | CanModify (bool bAllowNewSegmented=false, bool bNeedsClosed=true) |
| CZipString | Close (int iAfterException=afNoException, bool bUpdateTimeStamp=false) |
| int | CloseFile (CZipFile &file) |
| int | CloseFile (LPCTSTR lpszFilePath=NULL, bool bAfterException=false) |
| bool | CloseNewFile (bool bAfterException=false) |
| bool | CommitChanges () |
| void | EnableFindFast (bool bEnable=true) |
| bool | EncryptAllFiles () |
| bool | EncryptFile (ZIP_INDEX_TYPE uIndex) |
| bool | EncryptFiles (CZipIndexesArray &aIndexes) |
| bool | ExtractFile (ZIP_INDEX_TYPE uIndex, CZipAbstractFile &af, bool bRewind=true, CZipCompressor::COffsetsPair *pSeekPair=NULL, DWORD nBufSize=65536) |
| bool | ExtractFile (ZIP_INDEX_TYPE uIndex, LPCTSTR lpszPath, bool bFullPath=true, LPCTSTR lpszNewName=NULL, ZipPlatform::FileOverwriteMode iOverwriteMode=ZipPlatform::fomRegular, CZipCompressor::COffsetsPair *pSeekPair=NULL, DWORD nBufSize=65536) |
| bool | Finalize (bool bOnlyIfAuto=false) |
| ZIP_INDEX_TYPE | FindFile (LPCTSTR lpszFileName, int iCaseSensitive=ffDefault, bool bFileNameOnly=false) |
| void | FindMatches (LPCTSTR lpszPattern, CZipIndexesArray &ar, bool bFullPath=true) |
| void | FlushBuffers () |
| void | GetAdvanced (int *piWriteBuffer=NULL, int *piGeneralBuffer=NULL, int *piSearchBuffer=NULL) |
| CZipString | GetArchivePath () const |
| bool | GetAutoFinalize () const |
| ZIP_SIZE_TYPE | GetBytesBeforeZip () const |
| CZipActionCallback * | GetCallback (CZipActionCallback::CallbackType iWhich) |
| bool | GetCaseSensitivity () const |
| void | GetCentralDirInfo (CZipCentralDir::CInfo &info) const |
| ZIP_SIZE_TYPE | GetCentralDirSize (bool bWhole=true) const |
| int | GetCommitMode () const |
| WORD | GetCompressionMethod () const |
| ZIP_INDEX_TYPE | GetCount () const |
| ZIP_INDEX_TYPE | GetCount (bool bOnlyFiles) |
| const CZipCompressor * | GetCurrentCompressor () const |
| ZIP_VOLUME_TYPE | GetCurrentVolume () const |
| int | GetEncryptionMethod () const |
| bool | GetFileInfo (CZipFileHeader &fhInfo, ZIP_INDEX_TYPE uIndex) const |
| CZipFileHeader * | GetFileInfo (ZIP_INDEX_TYPE uIndex) |
| const CZipFileHeader * | GetFileInfo (ZIP_INDEX_TYPE uIndex) const |
| ZIP_INDEX_TYPE | GetFindFastIndex (ZIP_INDEX_TYPE iFindFastIndex) const |
| bool | GetFromArchive (CZipArchive &zip, CZipIndexesArray &aIndexes, bool bKeepSystComp=false, bool bReplaceMode=false) |
| bool | GetFromArchive (CZipArchive &zip, CZipStringArray &aNames, bool bKeepSystComp=false) |
| bool | GetFromArchive (CZipArchive &zip, ZIP_INDEX_TYPE uIndex, LPCTSTR lpszNewFileName=NULL, ZIP_INDEX_TYPE uReplaceIndex=ZIP_FILE_INDEX_UNSPECIFIED, bool bKeepSystComp=false) |
| CZipString | GetGlobalComment () const |
| int | GetIgnoredConsistencyChecks () const |
| void | GetIndexes (const CZipStringArray &aNames, CZipIndexesArray &aIndexes) |
| ZIP_INDEX_TYPE | GetLastIndexAdded () const |
| ZIP_SIZE_TYPE | GetOccupiedSpace () const |
| CZipString | GetPassword () const |
| CZipString | GetRootPath () const |
| int | GetSpecialFlags () const |
| CZipStorage * | GetStorage () |
| CZipStringStoreSettings & | GetStringStoreSettings () |
| int | GetSystemCompatibility () const |
| CZipString | GetTempPath () const |
| int | GetUnicodeMode () const |
| bool | IsClosed (bool bArchive=true) const |
| bool | IsFullFileTimes () const |
| bool | IsModified () const |
| bool | IsPasswordSet () const |
| bool | IsReadOnly () const |
| bool | IsUseUtcFileTimes () const |
| bool | Open (CZipAbstractFile &af, int iMode=zipOpen, bool bAutoClose=false) |
| bool | Open (LPCTSTR szPathName, int iMode=zipOpen, ZIP_SIZE_TYPE uVolumeSize=0) |
| bool | OpenFile (ZIP_INDEX_TYPE uIndex) |
| bool | OpenFrom (CZipArchive &zip, CZipAbstractFile *pArchiveFile=NULL, bool bAllowNonReadOnly=false) |
| bool | OpenNewFile (CZipFileHeader &header, int iLevel=CZipCompressor::levelDefault, LPCTSTR lpszFilePath=NULL) |
| CZipFileHeader * | operator[] (ZIP_INDEX_TYPE uIndex) |
| const CZipFileHeader * | operator[] (ZIP_INDEX_TYPE uIndex) const |
| bool | OverwriteLocalHeader (ZIP_INDEX_TYPE uIndex) |
| CZipString | PredictExtractedFileName (LPCTSTR lpszFileNameInZip, LPCTSTR lpszPath, bool bFullPath, LPCTSTR lpszNewName=NULL) const |
| CZipString | PredictFileNameInZip (LPCTSTR lpszFilePath, bool bFullPath, int iWhat=prAuto) const |
| ZIP_SIZE_TYPE | PredictMaximumFileSizeInArchive (CZipFileHeader &fh) |
| ZIP_SIZE_TYPE | PredictMaximumFileSizeInArchive (LPCTSTR lpszFilePath, bool bFullPath) |
| bool | PrependData (CZipAbstractFile &file, LPCTSTR lpszNewExt=NULL) |
| bool | PrependData (LPCTSTR lpszFilePath, LPCTSTR lpszNewExt=) |
| DWORD | ReadFile (void *pBuf, DWORD uSize) |
| bool | ReadLocalHeader (ZIP_INDEX_TYPE uIndex) |
| bool | RemoveCentralDirectoryFromArchive () |
| bool | RemoveFile (ZIP_INDEX_TYPE uIndex, bool bRemoveData=true) |
| bool | RemoveFiles (const CZipStringArray &aNames) |
| bool | RemoveFiles (CZipIndexesArray &aIndexes) |
| bool | ResetCurrentVolume () |
| void | ResetStringStoreSettings () |
| bool | SeekInFile (CZipCompressor::COffsetsPair *pPair) |
| void | SetAdvanced (int iWriteBuffer=65536, int iGeneralBuffer=65536, int iSearchBuffer=32768) |
| bool | SetAutoFinalize (bool bAutoFinalize=true) |
| void | SetBytesBeforeZip (ZIP_SIZE_TYPE uCount=0) |
| void | SetCallback (CZipActionCallback *pCallback=NULL, int iWhich=CZipActionCallback::cbAll) |
| void | SetCaseSensitivity (bool bCaseSensitive) |
| void | SetCommitMode (int iCommitMode=cmOnChange) |
| bool | SetCompressionMethod (WORD uCompressionMethod=CZipCompressor::methodDeflate) |
| void | SetCompressionOptions (CZipCompressor::COptions *pOptions) |
| bool | SetEncryptionMethod (int iEncryptionMethod=CZipCryptograph::encStandard) |
| void | SetFullFileTimes (bool bFullFileTimes=true) |
| bool | SetGlobalComment (LPCTSTR lpszComment, UINT codePage=ZIP_DEFAULT_CODE_PAGE) |
| void | SetIgnoredConsistencyChecks (int iLevel=checkIgnoredByDefault) |
| bool | SetPassword (LPCTSTR lpszPassword=NULL, UINT codePage=ZIP_DEFAULT_CODE_PAGE) |
| void | SetRootPath (LPCTSTR szPath=NULL) |
| void | SetSegmCallback (CZipSegmCallback *pCallback=NULL, int callbackType=scSpan) |
| void | SetSpecialFlags (int iSpecialFlags) |
| bool | SetSplitNamesHandler (CZipSplitNamesHandler &names) |
| bool | SetSplitNamesHandler (CZipSplitNamesHandler *pNames, bool bAutoDelete=true) |
| void | SetStringStoreSettings (const CZipStringStoreSettings &settings) |
| void | SetStringStoreSettings (UINT uFileNameCodePage, bool bStoreNameInExtraData, UINT uCommentCodePage) |
| void | SetStringStoreSettings (UINT uFileNameCodePage, bool bStoreNameInExtraData=false) |
| bool | SetSystemCompatibility (int iSystemComp) |
| void | SetTempPath (LPCTSTR lpszPath=NULL, bool bForce=true) |
| void | SetUnicodeMode (int iMode) |
| void | SetUseUtcFileTimes (bool bUseUtcFileTimes=true) |
| bool | ShiftData (ZIP_SIZE_TYPE uOffset) |
| bool | TestFile (ZIP_INDEX_TYPE uIndex, DWORD uBufSize=65536) |
| CZipString | TrimRootPath (CZipPathComponent &zpc) const |
| ZIP_INDEX_TYPE | WillBeDuplicated (LPCTSTR lpszFilePath, bool bFullPath, bool bFileNameOnly=false, int iWhat=prAuto) |
| bool | WillEncryptNextFile () const |
| bool | WriteNewFile (const void *pBuf, DWORD uSize) |
Represents a zip archive file.