Jive reference manual
List of all members | Public Member Functions | Protected Member Functions
jem::io::Deflator Class Reference

#include <jem/io/Deflator.h>

Inheritance diagram for jem::io::Deflator:
Inheritance graph

Public Member Functions

 Deflator (Ref< OutputStream > output, ZipMode zmode, int level, idx_t bufsize)
 
ulint getBytesIn () const
 
ulint getBytesOut () const
 
ulint getChecksum () const
 
void sync (ThrowMode tm=CAN_THROW)
 
void finish (ThrowMode tm=CAN_THROW)
 
idx_t flush (ThrowMode tm=CAN_THROW)
 
void deflate (const void *buf, idx_t n, ThrowMode tm=CAN_THROW)
 
void write (byte b, ThrowMode tm=CAN_THROW)
 

Protected Member Functions

virtual ~Deflator ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Constructor & Destructor Documentation

jem::io::Deflator::Deflator ( Ref< OutputStream output,
ZipMode  zmode,
int  level,
idx_t  bufsize 
)
virtual jem::io::Deflator::~Deflator ( )
protectedvirtual

Member Function Documentation

ulint jem::io::Deflator::getBytesIn ( ) const
ulint jem::io::Deflator::getBytesOut ( ) const
ulint jem::io::Deflator::getChecksum ( ) const
void jem::io::Deflator::sync ( ThrowMode  tm = CAN_THROW)
void jem::io::Deflator::finish ( ThrowMode  tm = CAN_THROW)
idx_t jem::io::Deflator::flush ( ThrowMode  tm = CAN_THROW)
void jem::io::Deflator::deflate ( const void *  buf,
idx_t  n,
ThrowMode  tm = CAN_THROW 
)
void jem::io::Deflator::write ( byte  b,
ThrowMode  tm = CAN_THROW 
)