Public Member Functions | Public Attributes | List of all members
ZipArchiveLib::CDeflateCompressor::COptions Struct Reference

#include <DeflateCompressor.h>

Inheritance diagram for ZipArchiveLib::CDeflateCompressor::COptions:
Inheritance graph

Public Member Functions

CZipCompressor::COptionsClone () const
 
int GetType () const
 

Public Attributes

bool m_bCheckLastBlock
 
- Public Attributes inherited from ZipArchiveLib::CBaseLibCompressor::COptions
bool m_bDetectLibMemoryLeaks
 
- Public Attributes inherited from CZipCompressor::COptions
int m_iBufferSize
 

Additional Inherited Members

- Public Types inherited from CZipCompressor::COptions
enum  Constants { cDefaultBufferSize = 2 * 65536 }
 

Detailed Description

Represents options of the CDeflateCompressor.

See Also
Compressing Data
CZipArchive::SetCompressionOptions

Definition at line 50 of file DeflateCompressor.h.

Member Function Documentation

CZipCompressor::COptions* ZipArchiveLib::CDeflateCompressor::COptions::Clone ( ) const
inlinevirtual

Clones the current options object.

Returns
The cloned object of the same type as the current object.

Implements CZipCompressor::COptions.

Definition at line 62 of file DeflateCompressor.h.

int ZipArchiveLib::CDeflateCompressor::COptions::GetType ( ) const
inlinevirtual

Returns the type of the compressor to which the current options apply.

Returns
The type of the compressor. It can be one of the CompressorType values.

Implements CZipCompressor::COptions.

Definition at line 57 of file DeflateCompressor.h.

Member Data Documentation

bool ZipArchiveLib::CDeflateCompressor::COptions::m_bCheckLastBlock

Enables or disables checking, if the compressed data ends with an end-of-stream block. This should be enabled to protect against malformed data. true, if the checking of the last block should be enabled; false otherwise.

Definition at line 72 of file DeflateCompressor.h.


The documentation for this struct 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.