Skip Navigation Links
Skip Navigation LinksHome > ZipArchive > How to Use > API Documentation
CZipCentralDir::CInfo Struct Reference

#include <ZipCentralDir.h>

Public Member Functions

bool IsZip64 () const
 

Public Attributes

bool m_bInArchive
 
ZIP_VOLUME_TYPE m_uEnd64Volume
 The number of the volume with Zip64 End of Central Directory Record.
 
ZIP_SIZE_TYPE m_uEndOffset
 
ZIP_INDEX_TYPE m_uEntriesNumber
 The total number of entries in the central directory.
 
ZIP_VOLUME_TYPE m_uLastVolume
 
ZIP_SIZE_TYPE m_uOffset
 
ZIP_SIZE_TYPE m_uSize
 
ZIP_INDEX_TYPE m_uVolumeEntriesNo
 The total number of entries in the central directory on the last volume.
 
ZIP_VOLUME_TYPE m_uVolumeWithCD
 The number of the volume with the start of the central directory.
 

Friends

class CZipCentralDir
 

Detailed Description

Stores general information about the central directory. Request this information with CZipArchive::GetCentralDirInfo.

Member Function Documentation

bool CZipCentralDir::CInfo::IsZip64 ( ) const
inline

Returns the value indicating whether the current archive uses Zip64 extensions.

Returns
true, if the archive uses Zip64 extensions; false otherwise.
See Also
Segmented Archives: Splitting and Spanning

Member Data Documentation

bool CZipCentralDir::CInfo::m_bInArchive

This value is true if the central directory is physically present in the archive; false otherwise.

ZIP_VOLUME_TYPE CZipCentralDir::CInfo::m_uEnd64Volume

The number of the volume with Zip64 End of Central Directory Record.

ZIP_SIZE_TYPE CZipCentralDir::CInfo::m_uEndOffset

The position of the End of Central Directory Record. In the Zip64 it points to the Zip64 counterpart.

ZIP_INDEX_TYPE CZipCentralDir::CInfo::m_uEntriesNumber

The total number of entries in the central directory.

ZIP_VOLUME_TYPE CZipCentralDir::CInfo::m_uLastVolume

The zero-based number of the volume with the End of Central Directory Record. To determine the total number of segments in the archive, add one to this value.

ZIP_SIZE_TYPE CZipCentralDir::CInfo::m_uOffset

The offset of the start of the central directory with respect to the starting volume number. It is the value written in the central directory record. This value is valid only if m_bInArchive is true.

ZIP_SIZE_TYPE CZipCentralDir::CInfo::m_uSize

The size of the central directory. This value is valid only if m_bInArchive is true; in other cases use the GetSize method instead.

ZIP_INDEX_TYPE CZipCentralDir::CInfo::m_uVolumeEntriesNo

The total number of entries in the central directory on the last volume.

ZIP_VOLUME_TYPE CZipCentralDir::CInfo::m_uVolumeWithCD

The number of the volume with the start of the central directory.


The documentation for this struct was generated from the following file:
Back To Top Up