#include <ZMFInternalStream.h>
Public Member Functions | |
| ZMFInternalStream (const unsigned char *data, unsigned long size) | |
| ZMFInternalStream (const std::vector< unsigned char > &data) | |
| ZMFInternalStream (const RVNGInputStreamPtr &input, unsigned long size) | |
| virtual | ~ZMFInternalStream () |
| 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 librevenge::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 | |
| ZMFInternalStream (const ZMFInternalStream &) | |
| ZMFInternalStream & | operator= (const ZMFInternalStream &) |
Private Attributes | |
| long | m_offset |
| unsigned long | m_size |
| const unsigned char * | m_data |
| unsigned char * | m_tmpBuf |
| bool | m_dataOwner |
| libzmf::ZMFInternalStream::ZMFInternalStream | ( | const unsigned char * | data, |
| unsigned long | size | ||
| ) |
| libzmf::ZMFInternalStream::ZMFInternalStream | ( | const std::vector< unsigned char > & | data | ) |
| libzmf::ZMFInternalStream::ZMFInternalStream | ( | const RVNGInputStreamPtr & | input, |
| unsigned long | size | ||
| ) |
| libzmf::ZMFInternalStream::~ZMFInternalStream | ( | ) | [virtual] |
| libzmf::ZMFInternalStream::ZMFInternalStream | ( | const ZMFInternalStream & | ) | [private] |
| bool libzmf::ZMFInternalStream::existsSubStream | ( | const char * | name | ) | [virtual] |
| librevenge::RVNGInputStream * libzmf::ZMFInternalStream::getSubStreamById | ( | unsigned | id | ) | [virtual] |
| librevenge::RVNGInputStream * libzmf::ZMFInternalStream::getSubStreamByName | ( | const char * | name | ) | [virtual] |
| bool libzmf::ZMFInternalStream::isEnd | ( | ) | [virtual] |
| bool libzmf::ZMFInternalStream::isStructured | ( | ) | [virtual] |
| ZMFInternalStream& libzmf::ZMFInternalStream::operator= | ( | const ZMFInternalStream & | ) | [private] |
| const unsigned char * libzmf::ZMFInternalStream::read | ( | unsigned long | numBytes, |
| unsigned long & | numBytesRead | ||
| ) | [virtual] |
| int libzmf::ZMFInternalStream::seek | ( | long | offset, |
| librevenge::RVNG_SEEK_TYPE | seekType | ||
| ) | [virtual] |
| unsigned libzmf::ZMFInternalStream::subStreamCount | ( | ) | [virtual] |
| const char * libzmf::ZMFInternalStream::subStreamName | ( | unsigned | id | ) | [virtual] |
| long libzmf::ZMFInternalStream::tell | ( | ) | [virtual] |
const unsigned char* libzmf::ZMFInternalStream::m_data [private] |
Referenced by read(), ZMFInternalStream(), and ~ZMFInternalStream().
bool libzmf::ZMFInternalStream::m_dataOwner [private] |
Referenced by ZMFInternalStream(), and ~ZMFInternalStream().
long libzmf::ZMFInternalStream::m_offset [private] |
unsigned long libzmf::ZMFInternalStream::m_size [private] |
Referenced by isEnd(), read(), seek(), and ZMFInternalStream().
unsigned char* libzmf::ZMFInternalStream::m_tmpBuf [private] |
Referenced by read(), and ~ZMFInternalStream().