Public Member Functions | Protected Attributes | List of all members
CZipRegularSplitNamesHandler Class Reference

#include <ZipSplitNamesHandler.h>

Inheritance diagram for CZipRegularSplitNamesHandler:
Inheritance graph

Public Member Functions

CZipString GetVolumeName (const CZipString &szArchiveName, ZIP_VOLUME_TYPE uCurrentVolume, ZipArchiveLib::CBitFlag flags) const
 
void Initialize (const CZipString &szArchiveName)
 
- Public Member Functions inherited from CZipSplitNamesHandler
 CZipSplitNamesHandler ()
 
virtual ZIP_VOLUME_TYPE GetVolumeNumber (const CZipString &szVolumePath) const
 

Protected Attributes

CZipString m_szExt
 

Additional Inherited Members

- Public Types inherited from CZipSplitNamesHandler
enum  Flags { flNone = 0x00, flLast = 0x01, flExisting = 0x02 }
 

Detailed Description

Generates names for regular split archives.

See Also
Segmented Archives: Splitting and Spanning

Definition at line 120 of file ZipSplitNamesHandler.h.

Member Function Documentation

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

Returns the path for the given volume number.

Parameters
szArchiveNameThe archive path provided when opening an archive.
uCurrentVolumeThe current volume number. The first volume number is 1.
flagsAdditional flags. It can be one or more of the Flags values.

Implements CZipSplitNamesHandler.

Definition at line 136 of file ZipSplitNamesHandler.h.

void CZipRegularSplitNamesHandler::Initialize ( const CZipString &  szArchiveName)
inlinevirtual

Called when opening an archive.

Parameters
szArchiveNameThe archive path provided when opening an archive.

Reimplemented from CZipSplitNamesHandler.

Definition at line 130 of file ZipSplitNamesHandler.h.


The documentation for this class was generated from the following file:

The ZipArchive Library Copyright © 2000 - 2022 Artpol Software - Tadeusz Dracz. Generated at Sat Dec 17 2022 19:57:04.