#include <simplestream.h>
Inheritance diagram for tn_file_buf_stream:

Public Member Functions | |
| tn_file_buf_stream (const ASCString &_fileName, IOMode mode) | |
| virtual void | seek (int newpos) |
| Sets the stream pointer to a new location. An exception is thrown if the stream does not support seeking. | |
| virtual int | getstreamsize (void) |
| virtual int | getSize (void) |
| returns the size of the stream or -1 if the stream does not have a size | |
| virtual time_t | get_time (void) |
| virtual | ~tn_file_buf_stream () |
Protected Member Functions | |
| void | readbuffer (void) |
| void | writebuffer (void) |
|
||||||||||||
|
Definition at line 177 of file simplestream.cpp. References tnbufstream::_mode, constructFileName(), tnstream::devicename, filereadmode, filewritemode, pathdelimitter, readbuffer(), and tnstream::reading. |
|
|
Definition at line 261 of file simplestream.cpp. References tnbufstream::_mode, tnbufstream::close(), tnstream::getDeviceName(), tnstream::uninitialized, writebuffer(), and tnstream::writing. |
|
|
Definition at line 161 of file simplestream.cpp. References tnstream::getDeviceName(). Referenced by get_filetime(), and tn_c_lzw_filestream::get_time(). |
|
|
returns the size of the stream or -1 if the stream does not have a size
Reimplemented from tnstream. Definition at line 71 of file simplestream.h. References getstreamsize(). Referenced by tn_c_lzw_filestream::getSize(). |
|
|
Definition at line 147 of file simplestream.cpp. References tnstream::getDeviceName(). Referenced by getSize(). |
|
|
Implements tnbufstream. Definition at line 239 of file simplestream.cpp. References tnbufstream::datasize, tnstream::getDeviceName(), tnbufstream::memsize, and tnbufstream::zeiger. Referenced by seek(), and tn_file_buf_stream(). |
|
|
Sets the stream pointer to a new location. An exception is thrown if the stream does not support seeking.
Reimplemented from tnstream. Definition at line 211 of file simplestream.cpp. References tnbufstream::_mode, tnbufstream::actmempos, tnbufstream::datasize, tnstream::getDeviceName(), readbuffer(), writebuffer(), and tnstream::writing. Referenced by tncontainerstream::opencontainerfile(), tncontainerstream::tncontainerstream(), and writepcx(). |
|
|
Implements tnbufstream. Definition at line 251 of file simplestream.cpp. References tnbufstream::actmempos, tnstream::getDeviceName(), and tnbufstream::zeiger. Referenced by seek(), and ~tn_file_buf_stream(). |
1.4.2