WPXMemoryInputStream Class Reference

#include <WPXMemoryStream.h>

Inheritance diagram for WPXMemoryInputStream:

Public Member Functions

 WPXMemoryInputStream (unsigned char *data, unsigned long size)
 
 ~WPXMemoryInputStream ()
 
bool isStructured ()
 
unsigned subStreamCount ()
 
const char * subStreamName (unsigned)
 
bool existsSubStream (const char *)
 
librevenge::RVNGInputStream * getSubStreamByName (const char *)
 
librevenge::RVNGInputStream * getSubStreamById (unsigned)
 
const unsigned char * read (unsigned long numBytes, unsigned long &numBytesRead)
 
int seek (long offset, librevenge::RVNG_SEEK_TYPE seekType)
 
long tell ()
 
bool isEnd ()
 
unsigned long getSize () const
 

Private Member Functions

 WPXMemoryInputStream (const WPXMemoryInputStream &)
 
WPXMemoryInputStreamoperator= (const WPXMemoryInputStream &)
 

Private Attributes

long m_offset
 
unsigned long m_size
 
unsigned char * m_data
 

Constructor & Destructor Documentation

§ WPXMemoryInputStream() [1/2]

WPXMemoryInputStream::WPXMemoryInputStream ( unsigned char *  data,
unsigned long  size 
)

§ ~WPXMemoryInputStream()

WPXMemoryInputStream::~WPXMemoryInputStream ( )

§ WPXMemoryInputStream() [2/2]

WPXMemoryInputStream::WPXMemoryInputStream ( const WPXMemoryInputStream )
private

Member Function Documentation

§ existsSubStream()

bool WPXMemoryInputStream::existsSubStream ( const char *  )
inline

§ getSize()

unsigned long WPXMemoryInputStream::getSize ( ) const
inline

§ getSubStreamById()

librevenge::RVNGInputStream* WPXMemoryInputStream::getSubStreamById ( unsigned  )
inline

§ getSubStreamByName()

librevenge::RVNGInputStream* WPXMemoryInputStream::getSubStreamByName ( const char *  )
inline

§ isEnd()

bool WPXMemoryInputStream::isEnd ( )

§ isStructured()

bool WPXMemoryInputStream::isStructured ( )
inline

§ operator=()

WPXMemoryInputStream& WPXMemoryInputStream::operator= ( const WPXMemoryInputStream )
private

§ read()

const unsigned char * WPXMemoryInputStream::read ( unsigned long  numBytes,
unsigned long &  numBytesRead 
)

Referenced by getSubStreamById().

§ seek()

int WPXMemoryInputStream::seek ( long  offset,
librevenge::RVNG_SEEK_TYPE  seekType 
)

§ subStreamCount()

unsigned WPXMemoryInputStream::subStreamCount ( )
inline

§ subStreamName()

const char* WPXMemoryInputStream::subStreamName ( unsigned  )
inline

§ tell()

long WPXMemoryInputStream::tell ( )

Referenced by getSubStreamById().

Member Data Documentation

§ m_data

unsigned char* WPXMemoryInputStream::m_data
private

Referenced by read().

§ m_offset

long WPXMemoryInputStream::m_offset
private

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

§ m_size

unsigned long WPXMemoryInputStream::m_size
private

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


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

Generated for libwpd by doxygen 1.8.12