#include <EBOOKMemoryStream.h>
Public Member Functions | |
EBOOKMemoryStream (const unsigned char *data, unsigned length) | |
virtual | ~EBOOKMemoryStream () |
virtual bool | isOLEStream () |
virtual WPXInputStream * | getDocumentOLEStream (const char *name) |
virtual const unsigned char * | read (unsigned long numBytes, unsigned long &numBytesRead) |
virtual int | seek (long offset, WPX_SEEK_TYPE seekType) |
virtual long | tell () |
virtual bool | atEOS () |
Private Member Functions | |
EBOOKMemoryStream (const EBOOKMemoryStream &other) | |
EBOOKMemoryStream & | operator= (const EBOOKMemoryStream &other) |
Private Attributes | |
const unsigned char * | m_data |
const long | m_length |
long | m_pos |
libebook::EBOOKMemoryStream::EBOOKMemoryStream | ( | const EBOOKMemoryStream & | other | ) | [private] |
libebook::EBOOKMemoryStream::EBOOKMemoryStream | ( | const unsigned char * | data, |
unsigned | length | ||
) |
libebook::EBOOKMemoryStream::~EBOOKMemoryStream | ( | ) | [virtual] |
bool libebook::EBOOKMemoryStream::atEOS | ( | ) | [virtual] |
Referenced by libebook::LRFParser::readBlockObject(), and libebook::LRFParser::readPageObject().
WPXInputStream * libebook::EBOOKMemoryStream::getDocumentOLEStream | ( | const char * | name | ) | [virtual] |
bool libebook::EBOOKMemoryStream::isOLEStream | ( | ) | [virtual] |
EBOOKMemoryStream& libebook::EBOOKMemoryStream::operator= | ( | const EBOOKMemoryStream & | other | ) | [private] |
const unsigned char * libebook::EBOOKMemoryStream::read | ( | unsigned long | numBytes, |
unsigned long & | numBytesRead | ||
) | [virtual] |
int libebook::EBOOKMemoryStream::seek | ( | long | offset, |
WPX_SEEK_TYPE | seekType | ||
) | [virtual] |
long libebook::EBOOKMemoryStream::tell | ( | ) | [virtual] |
const unsigned char* libebook::EBOOKMemoryStream::m_data [private] |
Referenced by EBOOKMemoryStream(), read(), and ~EBOOKMemoryStream().
const long libebook::EBOOKMemoryStream::m_length [private] |
long libebook::EBOOKMemoryStream::m_pos [private] |