Pression  1.2.0
Compressor, decompressor, uploader and downloader plugins
pression::CompressorResult Struct Reference

A structure to hold the results from one compress operation. More...

#include <compressorResult.h>

+ Collaboration diagram for pression::CompressorResult:

Public Member Functions

 CompressorResult (const unsigned n, const CompressorChunks &c)
 
uint64_t getSize () const
 
bool isCompressed () const
 

Public Attributes

unsigned compressor
 
CompressorChunks chunks
 

Detailed Description

A structure to hold the results from one compress operation.

Valid as long as the associated Compressor is valid and has not been used again.

Definition at line 34 of file compressorResult.h.

Member Function Documentation

uint64_t pression::CompressorResult::getSize ( ) const
inline
Returns
the aggregate size of all chunks
Version
1.9.1

Definition at line 41 of file compressorResult.h.

bool pression::CompressorResult::isCompressed ( ) const
inline
Returns
true if the result contains compressed data.
Version
1.9.1

Definition at line 50 of file compressorResult.h.

References EQ_COMPRESSOR_AUTO, EQ_COMPRESSOR_INVALID, and EQ_COMPRESSOR_NONE.


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