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

Public Member Functions | |
| tn_c_lzw_filestream (const ASCString &name, IOMode mode) | |
| void | writedata (const void *buf, int size) |
| writes data to the stream | |
| int | readdata (void *buf, int size, bool excpt=true) |
| Reads data from the stream. | |
| virtual | ~tn_c_lzw_filestream () |
| virtual time_t | get_time (void) |
| virtual int | getSize (void) |
| returns the size of the stream or -1 if the stream does not have a size | |
| ASCString | getLocation () |
| returns the location of the stream. | |
Protected Member Functions | |
| int | readcmpdata (void *buf, int size, bool excpt=true) |
| void | writecmpdata (const void *buf, int size) |
|
||||||||||||
|
Definition at line 1562 of file basestrm.cpp. References constructFileName(), FileLocation::container, tnstream::devicename, FileLocation::directoryLevel, FileLocation::found, tnstream::getDeviceName(), tanycompression::init(), locateFile(), tncontainerstream::opencontainerfile(), and tnstream::reading. |
|
|
Definition at line 1666 of file basestrm.cpp. References tlzwstreamcompression::close(), tanycompression::close_compression(), and tncontainerstream::closecontainerfile(). |
|
|
Definition at line 1658 of file basestrm.cpp. References tn_file_buf_stream::get_time(). |
|
|
returns the location of the stream. This may be a complete english sentence describing how the stream (usually a file) can be found. Should only be used for informing the user. Reimplemented from tnstream. Definition at line 1611 of file basestrm.cpp. Referenced by checkFileVersion(), and loadalltextfiles(). |
|
|
returns the size of the stream or -1 if the stream does not have a size
Reimplemented from tnstream. Definition at line 1616 of file basestrm.cpp. References tn_file_buf_stream::getSize(). |
|
||||||||||||||||
|
Implements t_compressor_stream_interface. Definition at line 1632 of file basestrm.cpp. References tncontainerstream::readcontainerdata(), and tnbufstream::readdata(). |
|
||||||||||||||||
|
Reads data from the stream.
Implements tnstream. Definition at line 1646 of file basestrm.cpp. References tlzwstreamcompression::mode, tncontainerstream::readcontainerdata(), tanycompression::readdata(), tnbufstream::readdata(), tlzwstreamcompression::readingdirect, and tlzwstreamcompression::tempbuf. Referenced by loadpalette(). |
|
||||||||||||
|
Implements t_compressor_stream_interface. Definition at line 1624 of file basestrm.cpp. References tnstream::reading, tnbufstream::writedata(), and tnstream::writing. |
|
||||||||||||
|
writes data to the stream
Implements tnstream. Definition at line 1641 of file basestrm.cpp. References tanycompression::writedata(). |
1.4.2