10#ifndef EBOOKZLIBSTREAM_H_INCLUDED
11#define EBOOKZLIBSTREAM_H_INCLUDED
15#include <librevenge-stream/librevenge-stream.h>
33 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
34 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
36 bool isEnd()
override;
39 std::unique_ptr<librevenge::RVNGInputStream>
m_stream;
RVNGInputStreamPtr_t stream
Definition: HTMLHelpStream.cpp:79
string name
Definition: HTMLHelpStream.cpp:80
unsigned offset
Definition: SoftBookParser.cpp:74
Definition: EBOOKZlibStream.h:21
std::unique_ptr< librevenge::RVNGInputStream > m_stream
Definition: EBOOKZlibStream.h:39
const char * subStreamName(unsigned id) override
Definition: EBOOKZlibStream.cpp:129
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: EBOOKZlibStream.cpp:154
~EBOOKZlibStream() override
Definition: EBOOKZlibStream.cpp:115
bool existsSubStream(const char *name) override
Definition: EBOOKZlibStream.cpp:134
bool isStructured() override
Definition: EBOOKZlibStream.cpp:119
unsigned subStreamCount() override
Definition: EBOOKZlibStream.cpp:124
long tell() override
Definition: EBOOKZlibStream.cpp:159
RVNGInputStream * getSubStreamById(unsigned id) override
Definition: EBOOKZlibStream.cpp:144
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: EBOOKZlibStream.cpp:149
bool isEnd() override
Definition: EBOOKZlibStream.cpp:164
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition: EBOOKZlibStream.cpp:139
Definition: BBeBCollector.cpp:19