#include <ZipFileHeader.h>
List of all members.
[protected]
Validates an existing data descriptor after file decompression.
true
false
[inline, protected]
Validates the member fields lengths. The tested fields are: filename, extra fields and comment.
[inline]
Gets a value indicating if the compression is efficient.
Gets the file comment.
Gets the comment size.
NULL
Gets an approximate file compression level.
Gets the compression ratio.
Gets the data descriptor size as it is required for the current file. Takes into account various factors, such as the need for the data descriptor signature or for the Zip64 format.
Gets the data descriptor size as it is required for the current file. Takes into account various factors, such as the archive segmentation type, encryption and the need for the Zip64 format.
Gets the size of the compressed data.
Gets the encrypted information size. The returned value depends on the used encryption method.
Gets the encryption method of the file.
Gets the filename. If necessary, performs the conversion using the current filename code page. Caches the result of conversion for faster access the next time.
GetStringStoreSettings
CZipStringStoreSettings::m_uNameCodePage
Gets the local header size. Before calling this method, the local information must be up-to-date (see Requesting Information, Predicting Names and Sizes for more information).
Gets the file attributes exactly as they are stored in the archive.
Gets the total size of the structure in the central directory.
Gets the string store settings for the file.
CZipArchive::GetStringStoreSettings
Gets the file attributes.
Gets the file system compatibility. External software can use this information e.g. to determine end-of-line format for text files etc. The ZipArchive Library uses it to perform a proper file attributes conversion.
ZipPlatform::GetSystemID
Gets the file modification time.
Returns the value indicating whether the current CZipFileHeader object has the time set or not.
Gets a value indicating whether the data descriptor is present or not.
Gets a value indicating whether the file represents a directory or not. This method checks the file attributes. If the attributes value is zero, the method checks for the presence of a path separator at the end of the filename. If the path separator is present, the file is assumed to be a directory.
Gets a value indicating if the file is encrypted or not. If the file is encrypted, you need to set the password with the CZipArchive::SetPassword method before decompressing the file.
Gets a value indicating if the file is encrypted using WinZip AES encryption method or not.
Gets a value indicating whether the file needs the data descriptor. The data descriptor is needed when a file is encrypted or the Zip64 format needs to be used.
Predicts the filename size after conversion using the current filename code page.
Prepares the data for writing when adding a new file. When Zip64 extensions are required for this file, this method adds Zip64 extra data to m_aLocalExtraData.
Prepares the filename for writing to the archive.
Reads the central file header from pStorage and validates the read data.
Reads the local file header from an archive and validates the read data.
Sets the file comment.
Sets the filename.
Sets the file attributes. To set the attributes of this structure use the CZipArchive::SetFileHeaderAttr method.
GetSystemAttr
Sets the file system compatibility.
Sets the file modification date.
Updates the general purpose bit flag.
Updates the local header in the archive after is has already been written.
Creates Zip64 extra data in the local extra field, if needed.
[inline, static, protected]
Verifies the central header signature.
Writes the central file header to pStorage.
Writes the Crc32 to pBuf.
Writes the data descriptor taking into account the Zip64 format.
Writes the local file header to the pStorage. The filename and extra field are the same as those that will be stored in the central directory.
Writes the data descriptor.
The central extra field.
The local extra field. Do not modify after you have started compressing the file.
A value indicating whether to ignore Crc32 checking or not.
[static]
The local file header signature.
The central file header signature.
The compressed size.
The crc-32 value.
The file encryption method. Can be one of the CZipCryptograph::EncryptionMethod values.
External file attributes.
A general purpose bit flag.
Internal file attributes.
The compressed size written in the local header.
The local filename length.
The uncompressed size written in the local header.
The compression method. Can be one of the CZipCompressor::CompressionMethod values.
The file last modification date.
The file last modification time.
Relative offset of the local header with respect to CZipFileHeader::m_uVolumeStart.
The uncompressed size.
The "made by" version and the system compatibility.
The version needed to extract the file.
The volume number at which the compressed file starts.