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