Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
tanycompression Class Reference

#include <basestrm.h>

Inheritance diagram for tanycompression:
Inheritance graph
[legend]

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 ()
 
- Public Member Functions inherited from CompressionStreamInterface
virtual void writecmpdata (const void *buf, int size)=0
 
virtual int readcmpdata (void *buf, int size, bool excpt=true)=0
 
virtual ~CompressionStreamInterface ()
 
- Public Member Functions inherited from tlzwstreamcompression
void writedata (const void *buf, int size)
 
int readdata (void *buf, int size, bool excpt=true)
 
 tlzwstreamcompression (void)
 
virtual ~tlzwstreamcompression (void)
 

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)
 
- Protected Member Functions inherited from tlzwstreamcompression
void close (void)
 

Additional Inherited Members

- Protected Types inherited from tlzwstreamcompression
enum  tmode {
  none, reading, writing, readingdirect,
  readingrle
}
 
typedef deque< Uint8 > CDQ
 
- Protected Attributes inherited from tlzwstreamcompression
queue< Uint8, CDQtempbuf
 
tmode mode
 

Detailed Description

Definition at line 363 of file basestrm.h.

Constructor & Destructor Documentation

tanycompression::tanycompression ( int  md)

Definition at line 1416 of file basestrm.cpp.

tanycompression::~tanycompression ( )

Member Function Documentation

void tanycompression::close_compression ( void  )
protected
void tanycompression::init ( void  )
int tanycompression::readdata ( void *  buf,
int  size,
bool  excpt = true 
)
int tanycompression::readlzwdata ( void *  buf,
int  size,
bool  excpt = true 
)
protectedvirtual

Implements tlzwstreamcompression.

Definition at line 1490 of file basestrm.cpp.

References CompressionStreamInterface::readcmpdata().

Referenced by readdata().

void tanycompression::writedata ( const void *  buf,
int  size 
)
void tanycompression::writelzwdata ( const void *  buf,
int  size 
)
protectedvirtual

Implements tlzwstreamcompression.

Definition at line 1513 of file basestrm.cpp.

References CompressionStreamInterface::writecmpdata().


The documentation for this class was generated from the following files: