Public Member Functions | |
| StreamIO (StorageIO *io, DirEntry *entry) | |
| ~StreamIO () | |
| unsigned long | size () |
| unsigned long | tell () |
| int | getch () |
| unsigned long | read (unsigned char *data, unsigned long maxlen) |
| unsigned long | read (unsigned long pos, unsigned char *data, unsigned long maxlen) |
Public Attributes | |
| StorageIO * | io |
| DirEntry * | entry |
| std::string | fullName |
| bool | eof |
| bool | fail |
Private Member Functions | |
| StreamIO (const StreamIO &) | |
| StreamIO & | operator= (const StreamIO &) |
| void | updateCache () |
Private Attributes | |
| std::vector< unsigned long > | blocks |
| unsigned long | m_pos |
| unsigned char * | cache_data |
| unsigned long | cache_size |
| unsigned long | cache_pos |
| libwps::StreamIO::StreamIO | ( | libwps::StorageIO * | s, | |
| libwps::DirEntry * | e | |||
| ) |
| libwps::StreamIO::~StreamIO | ( | ) |
| libwps::StreamIO::StreamIO | ( | const StreamIO & | ) | [private] |
| int libwps::StreamIO::getch | ( | ) |
| unsigned long libwps::StreamIO::read | ( | unsigned long | pos, | |
| unsigned char * | data, | |||
| unsigned long | maxlen | |||
| ) |
| unsigned long libwps::StreamIO::read | ( | unsigned char * | data, | |
| unsigned long | maxlen | |||
| ) |
Referenced by libwps::Stream::read(), and updateCache().
| unsigned long libwps::StreamIO::size | ( | ) |
| unsigned long libwps::StreamIO::tell | ( | ) |
Referenced by read().
| void libwps::StreamIO::updateCache | ( | ) | [private] |
Referenced by getch(), and StreamIO().
std::vector<unsigned long> libwps::StreamIO::blocks [private] |
Referenced by read(), and StreamIO().
unsigned char* libwps::StreamIO::cache_data [private] |
Referenced by getch(), StreamIO(), updateCache(), and ~StreamIO().
unsigned long libwps::StreamIO::cache_pos [private] |
Referenced by getch(), and updateCache().
unsigned long libwps::StreamIO::cache_size [private] |
Referenced by getch(), StreamIO(), and updateCache().
Referenced by getch(), read(), libwps::Stream::size(), StreamIO(), and updateCache().
| std::string libwps::StreamIO::fullName |
Referenced by libwps::StorageIO::streamIO().
Referenced by read(), and StreamIO().
unsigned long libwps::StreamIO::m_pos [private] |
Referenced by getch(), read(), tell(), and updateCache().