LibreOffice Module package (master) 1
|
#include <ZipOutputEntry.hxx>
Public Member Functions | |
ZipOutputEntryParallel (const css::uno::Reference< css::io::XOutputStream > &rxOutStream, const css::uno::Reference< css::uno::XComponentContext > &rxContext, ZipEntry &rEntry, ZipPackageStream *pStream, bool bEncrypt) | |
void | writeStream (const css::uno::Reference< css::io::XInputStream > &xInStream) override |
Public Member Functions inherited from ZipOutputEntryBase | |
virtual | ~ZipOutputEntryBase ()=default |
virtual void | writeStream (const css::uno::Reference< css::io::XInputStream > &xInStream)=0 |
ZipEntry * | getZipEntry () |
ZipPackageStream * | getZipPackageStream () |
bool | isEncrypt () const |
void | closeEntry () |
Private Member Functions | |
virtual void | finishDeflater () override |
virtual sal_Int64 | getDeflaterTotalIn () const override |
virtual sal_Int64 | getDeflaterTotalOut () const override |
virtual void | deflaterReset () override |
virtual bool | isDeflaterFinished () const override |
Private Attributes | |
sal_Int64 | totalIn |
sal_Int64 | totalOut |
bool | finished |
Additional Inherited Members | |
Protected Member Functions inherited from ZipOutputEntryBase | |
ZipOutputEntryBase (css::uno::Reference< css::io::XOutputStream > xOutStream, css::uno::Reference< css::uno::XComponentContext > xContext, ZipEntry &rEntry, ZipPackageStream *pStream, bool bEncrypt, bool checkStream) | |
This class is used to deflate Zip entries. More... | |
void | processDeflated (const css::uno::Sequence< sal_Int8 > &deflateBuffer, sal_Int32 nLength) |
void | processInput (const css::uno::Sequence< sal_Int8 > &rBuffer) |
virtual void | finishDeflater ()=0 |
virtual sal_Int64 | getDeflaterTotalIn () const =0 |
virtual sal_Int64 | getDeflaterTotalOut () const =0 |
virtual void | deflaterReset ()=0 |
virtual bool | isDeflaterFinished () const =0 |
Protected Attributes inherited from ZipOutputEntryBase | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::io::XOutputStream > | m_xOutStream |
css::uno::Reference< css::xml::crypto::XCipherContext > | m_xCipherContext |
css::uno::Reference< css::xml::crypto::XDigestContext > | m_xDigestContext |
CRC32 | m_aCRC |
ZipEntry * | m_pCurrentEntry |
sal_Int16 | m_nDigested |
ZipPackageStream * | m_pCurrentStream |
bool | m_bEncryptCurrentEntry |
Definition at line 140 of file ZipOutputEntry.hxx.
ZipOutputEntryParallel::ZipOutputEntryParallel | ( | const css::uno::Reference< css::io::XOutputStream > & | rxOutStream, |
const css::uno::Reference< css::uno::XComponentContext > & | rxContext, | ||
ZipEntry & | rEntry, | ||
ZipPackageStream * | pStream, | ||
bool | bEncrypt | ||
) |
Definition at line 340 of file ZipOutputEntry.cxx.
|
overrideprivatevirtual |
Implements ZipOutputEntryBase.
Definition at line 387 of file ZipOutputEntry.cxx.
|
overrideprivatevirtual |
Implements ZipOutputEntryBase.
Definition at line 372 of file ZipOutputEntry.cxx.
|
overrideprivatevirtual |
Implements ZipOutputEntryBase.
Definition at line 377 of file ZipOutputEntry.cxx.
References totalIn.
|
overrideprivatevirtual |
Implements ZipOutputEntryBase.
Definition at line 382 of file ZipOutputEntry.cxx.
References totalOut.
|
overrideprivatevirtual |
Implements ZipOutputEntryBase.
Definition at line 394 of file ZipOutputEntry.cxx.
References finished.
|
overridevirtual |
Implements ZipOutputEntryBase.
Definition at line 353 of file ZipOutputEntry.cxx.
References ZipOutputEntryBase::closeEntry(), ZipUtils::ThreadedDeflater::deflateWrite(), finished, ZipUtils::ThreadedDeflater::getTotalIn(), ZipUtils::ThreadedDeflater::getTotalOut(), ZipOutputEntryBase::m_aCRC, ZipOutputEntryBase::m_bEncryptCurrentEntry, ZipOutputEntryBase::processDeflated(), totalIn, totalOut, and CRC32::updateSegment().
Referenced by ZipPackageStream::saveChild().
|
private |
Definition at line 144 of file ZipOutputEntry.hxx.
Referenced by deflaterReset(), isDeflaterFinished(), and writeStream().
|
private |
Definition at line 142 of file ZipOutputEntry.hxx.
Referenced by deflaterReset(), getDeflaterTotalIn(), and writeStream().
|
private |
Definition at line 143 of file ZipOutputEntry.hxx.
Referenced by deflaterReset(), getDeflaterTotalOut(), and writeStream().