Advanced Strategic Command
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
tlzwstreamcompression Class Referenceabstract

#include <basestrm.h>

Inheritance diagram for tlzwstreamcompression:
Inheritance graph
[legend]

Public Member Functions

void writedata (const void *buf, int size)
 
int readdata (void *buf, int size, bool excpt=true)
 
virtual int readlzwdata (void *buf, int size, bool excpt=true)=0
 
virtual void writelzwdata (const void *buf, int size)=0
 
 tlzwstreamcompression (void)
 
virtual ~tlzwstreamcompression (void)
 

Protected Types

enum  tmode {
  none, reading, writing, readingdirect,
  readingrle
}
 
typedef deque< Uint8 > CDQ
 

Protected Member Functions

void close (void)
 

Protected Attributes

queue< Uint8, CDQtempbuf
 
tmode mode
 

Detailed Description

Definition at line 223 of file basestrm.h.

Member Typedef Documentation

typedef deque<Uint8> tlzwstreamcompression::CDQ
protected

Definition at line 296 of file basestrm.h.

Member Enumeration Documentation

Enumerator
none 
reading 
writing 
readingdirect 
readingrle 

Definition at line 299 of file basestrm.h.

Constructor & Destructor Documentation

tlzwstreamcompression::tlzwstreamcompression ( void  )

Definition at line 34 of file oldlzw.cpp.

References mode, and none.

tlzwstreamcompression::~tlzwstreamcompression ( void  )
virtual

Definition at line 468 of file oldlzw.cpp.

Member Function Documentation

void tlzwstreamcompression::close ( void  )
protected
int tlzwstreamcompression::readdata ( void *  buf,
int  size,
bool  excpt = true 
)
virtual int tlzwstreamcompression::readlzwdata ( void *  buf,
int  size,
bool  excpt = true 
)
pure virtual

Implemented in tanycompression.

Referenced by readdata().

void tlzwstreamcompression::writedata ( const void *  buf,
int  size 
)

Definition at line 201 of file oldlzw.cpp.

References DICTIONARY_SIZE, MAX_CODE, NEW_DICTIONARY, STARTING_CODE, and UNUSED_CODE.

virtual void tlzwstreamcompression::writelzwdata ( const void *  buf,
int  size 
)
pure virtual

Implemented in tanycompression.

Member Data Documentation

tmode tlzwstreamcompression::mode
protected
queue<Uint8,CDQ> tlzwstreamcompression::tempbuf
protected

Definition at line 297 of file basestrm.h.

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


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