Skip Navigation Links
Skip Navigation LinksHome > ZipArchive > How to Use > API Documentation

CZipBinSplitNamesHandler Class Reference

#include <ZipSplitNamesHandler.h>

Inheritance diagram for CZipBinSplitNamesHandler:

List of all members.


Public Member Functions

CZipString GetVolumeName (const CZipString &szArchiveName, ZIP_VOLUME_TYPE uCurrentVolume, ZipArchiveLib::CBitFlag flags) const
ZIP_VOLUME_TYPE GetVolumeNumber (const CZipString &szArchiveName) const

Detailed Description

Generates names for binary split archives.

See also:
Segmented Archives: Splitting and Spanning

Member Function Documentation

CZipString CZipBinSplitNamesHandler::GetVolumeName ( const CZipString &  szArchiveName,
ZIP_VOLUME_TYPE  uCurrentVolume,
ZipArchiveLib::CBitFlag  flags 
) const [inline, virtual]

Returns the path for the given volume number.

Parameters:
szArchiveName The archive path provided when opening an archive.
uCurrentVolume The current volume number. The first volume number is 1.
flags Additional flags. It can be one or more of the Flags values.

Implements CZipSplitNamesHandler.

ZIP_VOLUME_TYPE CZipBinSplitNamesHandler::GetVolumeNumber ( const CZipString &  szVolumePath  )  const [inline, virtual]

Returns the volume number for the given volume path.

Parameters:
szVolumePath The volume path.
Returns:
The volume number parsed from the szVolumePath. The first volume number is 1. Return 0 to indicate an error during parsing.
Note:
Implementing of this method is only required for a handler for binary split archives.

Reimplemented from CZipSplitNamesHandler.


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