Skip Navigation Links
Skip Navigation LinksHome > ZipArchive > How to Use > API Documentation
CReplacingAddFilesEnumerator Class Reference

#include <ZipArchive.h>

Inheritance diagram for CReplacingAddFilesEnumerator:
Inheritance graph

Public Member Functions

 CReplacingAddFilesEnumerator (LPCTSTR lpszDirectory, bool bRecursive=true, int iComprLevel=-1, int iSmartLevel=CZipArchive::zipsmSafeSmart, unsigned long nBufSize=65536)
 
- Public Member Functions inherited from CZipAddFilesEnumerator
 CZipAddFilesEnumerator (LPCTSTR lpszDirectory, bool bRecursive=true, int iComprLevel=-1, int iSmartLevel=CZipArchive::zipsmSafeSmart, unsigned long nBufSize=65536)
 
- Public Member Functions inherited from ZipArchiveLib::CDirEnumerator
LPCTSTR GetCurrentDirectory () const
 
LPCTSTR GetDirectory () const
 
bool IsRecursive () const
 
bool Start (CFileFilter &filter)
 

Protected Member Functions

void UpdateAddNewFileInfo (CZipAddNewFileInfo *info)
 
- Protected Member Functions inherited from CZipAddFilesEnumerator
CZipArchiveGetZip ()
 
virtual void Initialize (CZipArchive *pZip)
 
bool Process (LPCTSTR lpszPath, const ZipArchiveLib::CFileInfo &info)
 
- Protected Member Functions inherited from ZipArchiveLib::CDirEnumerator
 CDirEnumerator (LPCTSTR lpszDirectory, bool bRecursive=true)
 
virtual void EnterDirectory ()
 
virtual void ExitDirectory ()
 
virtual void OnEnumerationBegin ()
 
virtual void OnEnumerationEnd (bool bResult)
 

Additional Inherited Members

- Protected Attributes inherited from CZipAddFilesEnumerator
int m_iComprLevel
 
int m_iSmartLevel
 
unsigned long m_nBufSize
 
CZipActionCallbackm_pMultiCallback
 

Detailed Description

The class that can be used as a parameter in the AddNewFiles(CZipAddFilesEnumerator&, ZipArchiveLib::CFileFilter&, bool) method. It provides an additional behavior that replaces files in the archive when a file being added already exists in the archive (it compares names).

See Also
Compressing Data

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