libebook::EBOOKMemoryStream Class Reference

#include <EBOOKMemoryStream.h>

List of all members.

Public Member Functions

 EBOOKMemoryStream ()
 EBOOKMemoryStream (const unsigned char *data, unsigned length)
virtual ~EBOOKMemoryStream ()
virtual bool isStructured ()
virtual unsigned subStreamCount ()
virtual const char * subStreamName (unsigned id)
virtual bool existsSubStream (const char *name)
virtual
librevenge::RVNGInputStream * 
getSubStreamByName (const char *name)
virtual RVNGInputStream * getSubStreamById (unsigned id)
virtual const unsigned char * read (unsigned long numBytes, unsigned long &numBytesRead)
virtual int seek (long offset, librevenge::RVNG_SEEK_TYPE seekType)
virtual long tell ()
virtual bool isEnd ()

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

bool libebook::EBOOKMemoryStream::existsSubStream ( const char *  name) [virtual]
librevenge::RVNGInputStream * libebook::EBOOKMemoryStream::getSubStreamById ( unsigned  id) [virtual]
librevenge::RVNGInputStream * libebook::EBOOKMemoryStream::getSubStreamByName ( 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,
librevenge::RVNG_SEEK_TYPE  seekType 
) [virtual]
const char * libebook::EBOOKMemoryStream::subStreamName ( unsigned  id) [virtual]

Member Data Documentation

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

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

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


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