#include <basestrm.h>
Inheritance diagram for tlzwstreamcompression:

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< char > | CDQ |
Protected Member Functions | |
| void | close (void) |
Protected Attributes | |
| queue< char, CDQ > | tempbuf |
| tmode | mode |
Classes | |
| struct | Rdictionary |
| struct | Wdictionary |
Definition at line 223 of file basestrm.h.
typedef deque<char> tlzwstreamcompression::CDQ [protected] |
Definition at line 296 of file basestrm.h.
enum tlzwstreamcompression::tmode [protected] |
Definition at line 299 of file basestrm.h.
| tlzwstreamcompression::tlzwstreamcompression | ( | void | ) |
| tlzwstreamcompression::~tlzwstreamcompression | ( | void | ) | [virtual] |
| 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.
| 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] |
| virtual void tlzwstreamcompression::writelzwdata | ( | const void * | buf, | |
| int | size | |||
| ) | [pure virtual] |
Implemented in tanycompression.
| 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().
queue<char,CDQ> tlzwstreamcompression::tempbuf [protected] |
Definition at line 297 of file basestrm.h.
Referenced by readdata(), and tn_c_lzw_filestream::readdata().
tmode tlzwstreamcompression::mode [protected] |
Definition at line 300 of file basestrm.h.
Referenced by close(), readdata(), tn_c_lzw_filestream::readdata(), tlzwstreamcompression(), and ~tlzwstreamcompression().
1.5.1