libebook::EBOOKMemoryStream Class Reference

#include <EBOOKMemoryStream.h>

Inheritance diagram for libebook::EBOOKMemoryStream:

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 EBOOKMemoryStream other)
private
libebook::EBOOKMemoryStream::EBOOKMemoryStream ( const unsigned char *  data,
unsigned  length 
)
libebook::EBOOKMemoryStream::~EBOOKMemoryStream ( )
virtual

Member Function Documentation

bool libebook::EBOOKMemoryStream::atEOS ( )
virtual
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

Member Data Documentation

const unsigned char* libebook::EBOOKMemoryStream::m_data
private
const long libebook::EBOOKMemoryStream::m_length
private

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

long libebook::EBOOKMemoryStream::m_pos
private

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


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

Generated for libe-book by doxygen 1.8.5