#include <ZipSplitNamesHandler.h>
Generates and parses names for split archive volumes. Base class for split names handlers. 
- See Also
- Segmented Archives: Splitting and Spanning 
Flags for the GetVolumeName method. 
- Enumerator: 
- 
| flNone | No special flags.  |  | flLast | The volume is the last volume in the archive.  |  | flExisting | The archive is an existing archive.  |  
 
 
 
  
  | 
        
          | CZipSplitNamesHandler::CZipSplitNamesHandler | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | virtual CZipString CZipSplitNamesHandler::GetVolumeName | ( | const CZipString & | szArchiveName, |  
          |  |  | ZIP_VOLUME_TYPE | uCurrentVolume, |  
          |  |  | ZipArchiveLib::CBitFlag | flags |  
          |  | ) |  | const |  | pure 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. |  
 
Implemented in CZipBinSplitNamesHandler, and CZipRegularSplitNamesHandler.
 
 
  
  | 
        
          | virtual ZIP_VOLUME_TYPE CZipSplitNamesHandler::GetVolumeNumber | ( | const CZipString & | szVolumePath | ) | const |  | inlinevirtual | 
 
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. Return0to indicate an error during parsing.
- Note
- Implementing of this method is only required for a handler for binary split archives. 
Reimplemented in CZipBinSplitNamesHandler.
 
 
  
  | 
        
          | virtual void CZipSplitNamesHandler::Initialize | ( | const CZipString & | szArchiveName | ) |  |  | inlinevirtual | 
 
Called when opening an archive.
- Parameters
- 
  
    | szArchiveName | The archive path provided when opening an archive. |  
 
Reimplemented in CZipRegularSplitNamesHandler.
 
 
The documentation for this class was generated from the following file: