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 |
libwpd::StreamIO::StreamIO | ( | libwpd::StorageIO * | s, | |
libwpd::DirEntry * | e | |||
) |
libwpd::StreamIO::~StreamIO | ( | ) |
libwpd::StreamIO::StreamIO | ( | const StreamIO & | ) | [private] |
int libwpd::StreamIO::getch | ( | ) |
unsigned long libwpd::StreamIO::read | ( | unsigned long | pos, | |
unsigned char * | data, | |||
unsigned long | maxlen | |||
) |
unsigned long libwpd::StreamIO::read | ( | unsigned char * | data, | |
unsigned long | maxlen | |||
) |
Referenced by libwpd::Stream::read(), and updateCache().
unsigned long libwpd::StreamIO::size | ( | ) |
unsigned long libwpd::StreamIO::tell | ( | ) |
Referenced by read().
void libwpd::StreamIO::updateCache | ( | ) | [private] |
Referenced by getch(), and StreamIO().
std::vector<unsigned long> libwpd::StreamIO::blocks [private] |
Referenced by read(), and StreamIO().
unsigned char* libwpd::StreamIO::cache_data [private] |
Referenced by getch(), StreamIO(), updateCache(), and ~StreamIO().
unsigned long libwpd::StreamIO::cache_pos [private] |
Referenced by getch(), and updateCache().
unsigned long libwpd::StreamIO::cache_size [private] |
Referenced by getch(), StreamIO(), and updateCache().
Referenced by getch(), read(), libwpd::Stream::size(), StreamIO(), and updateCache().
std::string libwpd::StreamIO::fullName |
Referenced by libwpd::StorageIO::streamIO().
Referenced by read(), and StreamIO().
unsigned long libwpd::StreamIO::m_pos [private] |
Referenced by getch(), read(), tell(), and updateCache().