Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

tanycompression Class Reference

#include <basestrm.h>

Inheritance diagram for tanycompression:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 tanycompression (int md)
void init (void)
void writedata (const void *buf, int size)
int readdata (void *buf, int size, bool excpt=true)
 ~tanycompression ()

Protected Member Functions

virtual int readlzwdata (void *buf, int size, bool excpt=true)
virtual void writelzwdata (const void *buf, int size)
void close_compression (void)

Constructor & Destructor Documentation

tanycompression::tanycompression int  md  ) 
 

Definition at line 1376 of file basestrm.cpp.

tanycompression::~tanycompression  ) 
 

Definition at line 1489 of file basestrm.cpp.


Member Function Documentation

void tanycompression::close_compression void   )  [protected]
 

Definition at line 1479 of file basestrm.cpp.

References libbzip_compression::close_compression().

Referenced by tn_c_lzw_filestream::~tn_c_lzw_filestream(), and tn_lzw_file_buf_stream::~tn_lzw_file_buf_stream().

void tanycompression::init void   ) 
 

Definition at line 1383 of file basestrm.cpp.

References BZIP_SIGNATURE, LZ_SIGNATURE, t_compressor_stream_interface::readcmpdata(), RLE_SIGNATURE, and t_compressor_stream_interface::writecmpdata().

Referenced by tn_c_lzw_filestream::tn_c_lzw_filestream(), and tn_lzw_file_buf_stream::tn_lzw_file_buf_stream().

int tanycompression::readdata void *  buf,
int  size,
bool  excpt = true
 

Reimplemented from tlzwstreamcompression.

Reimplemented in tn_lzw_file_buf_stream, and tn_c_lzw_filestream.

Definition at line 1424 of file basestrm.cpp.

References tlzwstreamcompression::readdata(), readlzwdata(), and red.

Referenced by tn_c_lzw_filestream::readdata(), and tn_lzw_file_buf_stream::readdata().

int tanycompression::readlzwdata void *  buf,
int  size,
bool  excpt = true
[protected, virtual]
 

Implements tlzwstreamcompression.

Definition at line 1450 of file basestrm.cpp.

References t_compressor_stream_interface::readcmpdata().

Referenced by readdata().

void tanycompression::writedata const void *  buf,
int  size
 

Reimplemented from tlzwstreamcompression.

Reimplemented in tn_lzw_file_buf_stream, and tn_c_lzw_filestream.

Definition at line 1443 of file basestrm.cpp.

Referenced by tn_c_lzw_filestream::writedata(), and tn_lzw_file_buf_stream::writedata().

void tanycompression::writelzwdata const void *  buf,
int  size
[protected, virtual]
 

Implements tlzwstreamcompression.

Definition at line 1473 of file basestrm.cpp.

References t_compressor_stream_interface::writecmpdata().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:14 2008 for Advanced Strategic Command by  doxygen 1.4.2