#include <ZipSplitNamesHandler.h>
Public Member Functions | |
CZipString | GetVolumeName (const CZipString &szArchiveName, ZIP_VOLUME_TYPE uCurrentVolume, ZipArchiveLib::CBitFlag flags) const |
ZIP_VOLUME_TYPE | GetVolumeNumber (const CZipString &szArchiveName) const |
Definition at line 160 of file ZipSplitNamesHandler.h.
CZipString CZipBinSplitNamesHandler::GetVolumeName | ( | const CZipString & | szArchiveName, | |
ZIP_VOLUME_TYPE | uCurrentVolume, | |||
ZipArchiveLib::CBitFlag | flags | |||
) | const [inline, virtual] |
Returns the path for the given volume number.
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.
Definition at line 163 of file ZipSplitNamesHandler.h.
ZIP_VOLUME_TYPE CZipBinSplitNamesHandler::GetVolumeNumber | ( | const CZipString & | szVolumePath | ) | const [inline, virtual] |
Returns the volume number for the given volume path.
szVolumePath | The volume path. |
1
. Return 0
to indicate an error during parsing.Reimplemented from CZipSplitNamesHandler.
Definition at line 182 of file ZipSplitNamesHandler.h.