libebook::EBOOKMemoryStream Class Reference

#include <EBOOKMemoryStream.h>

List of all members.

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)
EBOOKMemoryStreamoperator= (const EBOOKMemoryStream &other)

Private Attributes

const unsigned char * m_data
const long m_length
long m_pos

Constructor & Destructor Documentation

libebook::EBOOKMemoryStream::EBOOKMemoryStream ( const unsigned char *  data,
unsigned  length 
)

Member Function Documentation

WPXInputStream * libebook::EBOOKMemoryStream::getDocumentOLEStream ( const char *  name) [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]

Member Data Documentation

const unsigned char* libebook::EBOOKMemoryStream::m_data [private]

Referenced by atEOS(), read(), and seek().

Referenced by atEOS(), read(), seek(), and tell().


The documentation for this class was generated from the following files: