#include <CDRInternalStream.h>
Public Member Functions | |
CDRInternalStream (librevenge::RVNGInputStream *input, unsigned long size, bool compressed=false) | |
CDRInternalStream (const std::vector< unsigned char > &buffer) | |
~CDRInternalStream () | |
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 | |
CDRInternalStream (const CDRInternalStream &) | |
CDRInternalStream & | operator= (const CDRInternalStream &) |
Private Attributes | |
volatile long | m_offset |
std::vector< unsigned char > | m_buffer |
libcdr::CDRInternalStream::CDRInternalStream | ( | librevenge::RVNGInputStream * | input, |
unsigned long | size, | ||
bool | compressed = false |
||
) |
libcdr::CDRInternalStream::CDRInternalStream | ( | const std::vector< unsigned char > & | buffer | ) |
libcdr::CDRInternalStream::~CDRInternalStream | ( | ) | [inline] |
libcdr::CDRInternalStream::CDRInternalStream | ( | const CDRInternalStream & | ) | [private] |
bool libcdr::CDRInternalStream::existsSubStream | ( | const char * | ) | [inline] |
unsigned long libcdr::CDRInternalStream::getSize | ( | ) | const [inline] |
librevenge::RVNGInputStream* libcdr::CDRInternalStream::getSubStreamById | ( | unsigned | ) | [inline] |
librevenge::RVNGInputStream* libcdr::CDRInternalStream::getSubStreamByName | ( | const char * | ) | [inline] |
bool libcdr::CDRInternalStream::isEnd | ( | ) |
Referenced by libcdr::CDRParser::parseRecord().
bool libcdr::CDRInternalStream::isStructured | ( | ) | [inline] |
CDRInternalStream& libcdr::CDRInternalStream::operator= | ( | const CDRInternalStream & | ) | [private] |
const unsigned char * libcdr::CDRInternalStream::read | ( | unsigned long | numBytes, |
unsigned long & | numBytesRead | ||
) |
int libcdr::CDRInternalStream::seek | ( | long | offset, |
librevenge::RVNG_SEEK_TYPE | seekType | ||
) |
unsigned libcdr::CDRInternalStream::subStreamCount | ( | ) | [inline] |
const char* libcdr::CDRInternalStream::subStreamName | ( | unsigned | ) | [inline] |
long libcdr::CDRInternalStream::tell | ( | ) |
std::vector<unsigned char> libcdr::CDRInternalStream::m_buffer [private] |
Referenced by CDRInternalStream(), and getSize().
volatile long libcdr::CDRInternalStream::m_offset [private] |