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

tlzwstreamcompression Class Reference

#include <basestrm.h>

Inheritance diagram for tlzwstreamcompression:

Inheritance graph
[legend]
List of all members.

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

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

Protected Member Functions

void close (void)

Protected Attributes

queue< char, CDQtempbuf
tmode mode

Classes

struct  Rdictionary
struct  Wdictionary

Member Typedef Documentation

typedef deque<char> tlzwstreamcompression::CDQ [protected]
 

Definition at line 299 of file basestrm.h.


Member Enumeration Documentation

enum tlzwstreamcompression::tmode [protected]
 

Enumeration values:
none 
reading 
writing 
readingdirect 
readingrle 

Definition at line 302 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 465 of file oldlzw.cpp.

References close(), mode, and writing.


Member Function Documentation

void tlzwstreamcompression::close void   )  [protected]
 

Definition at line 455 of file oldlzw.cpp.

References END_OF_INPUT, mode, none, and writing.

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

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

Reimplemented in tanycompression, tn_lzw_file_buf_stream, and tn_c_lzw_filestream.

Definition at line 311 of file oldlzw.cpp.

References END_OF_INPUT, MAX_CODE, mode, NEW_DICTIONARY, readingdirect, readingrle, readlzwdata(), STARTING_CODE, and tempbuf.

Referenced by tanycompression::readdata().

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
 

Reimplemented in tanycompression, tn_lzw_file_buf_stream, and tn_c_lzw_filestream.

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]
 

Definition at line 303 of file basestrm.h.

Referenced by close(), readdata(), tn_c_lzw_filestream::readdata(), tlzwstreamcompression(), and ~tlzwstreamcompression().

queue<char,CDQ> tlzwstreamcompression::tempbuf [protected]
 

Definition at line 300 of file basestrm.h.

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


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