#include <ZipFileHeader.h>
NULL
Represents a single file stored in a zip archive.
File header state flags.
No special flags set.
The header uses Unicode extra header to store the filename.
The header uses Unicode extra header to store the comment.
The header uses UTF-8 encoding when storing the filename and comment.
The header uses custom Unicode functionality.
The file has been modified.
Adjusts the local compressed size.
Validates an existing data descriptor after file decompression.
true
false
Validates the member fields lengths. The tested fields are: filename, extra fields and comment.
Returns the value indicating whether the compression is efficient.
Returns the file comment.
Returns an approximate file compression level.
Returns the compression ratio.
Returns the file creation time.
Returns 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.
Returns 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.
Returns the size of the compressed data.
Returns the encrypted information size. The returned value depends on the used encryption method.
Returns the encryption method of the file.
Returns the extension of the filename. If necessary, performs the conversion using the current filename code page. Caches the result of conversion for faster access the next time.
Returns the filename. If necessary, performs the conversion using the current filename code page. Caches the result of conversion for faster access the next time.
Returns the filename without the extension. If necessary, performs the conversion using the current filename code page. Caches the result of conversion for faster access the next time.
Returns the file last access time.
Returns 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).
Returns the file modification time.
Returns the file attributes exactly as they are stored in the archive.
Returns the total size of this structure in the central directory.
Returns the state flags.
Returns the current string store settings.
Returns the file attributes.
Returns 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.
Returns the value indicating whether the current CZipFileHeader object has the time set.
Returns the value indicating whether the data descriptor is present.
Returns the value indicating whether the file represents a directory. 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.
Returns the value indicating whether the file is encrypted. If the file is encrypted, you need to set the password with the CZipArchive::SetPassword method before decompressing the file.
Returns the value indicating whether the file was modified.
Returns the value indicating whether the file is encrypted using WinZip AES encryption method.
Returns the 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.
Returns the value indicating whether the signature in the data descriptor is needed.
Predicts a file comment size.
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 the archive and validates the read data.
Sets the file comment.
Sets the file creation time. The time will be stored in a dedicated extra header.
Sets the filename.
The actual renaming of the file inside of the archive depends on the current commit mode.
Sets the file last access time. The time will be stored in a dedicated extra header.
Sets the file modification time.
Sets the file attributes.
Sets the file system compatibility.
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.
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 it after you started compressing the file.
The value indicating whether to ignore Crc32 checking.
The local file header signature.
The central file header signature.
The parent central directory. It can be NULL when the header is not a part of central directory.
The file creation time (stored in the NTFS extra field).
The file last access time (stored in the NTFS extra field).
The file modification time (stored in the NTFS extra field).
The compressed size.
The crc-32 value.
The file encryption method. It 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. It can be one of the CZipCompressor::CompressionMethod values.
The file last modification date. Don't set directly, but rather use CZipFileHeader::SetModificationTime method.
The file last modification time. Don't set directly, but rather use CZipFileHeader::SetModificationTime method.
Relative offset of the local header with respect to CZipFileHeader::m_uVolumeStart.
The uncompressed size.
The version of the software that created the archive.
The version needed to extract the file.
The volume number at which the compressed file starts.