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;
44 #endif // EBOOKZLIBSTREAM_H_INCLUDED EBOOKZlibStream(librevenge::RVNGInputStream *stream)
Definition: EBOOKZlibStream.cpp:104
unsigned offset
Definition: SoftBookParser.cpp:74
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: EBOOKZlibStream.cpp:149
bool isEnd() override
Definition: EBOOKZlibStream.cpp:164
RVNGInputStreamPtr_t stream
Definition: HTMLHelpStream.cpp:79
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: EBOOKZlibStream.cpp:154
long tell() override
Definition: EBOOKZlibStream.cpp:159
unsigned subStreamCount() override
Definition: EBOOKZlibStream.cpp:124
const char * subStreamName(unsigned id) override
Definition: EBOOKZlibStream.cpp:129
RVNGInputStream * getSubStreamById(unsigned id) override
Definition: EBOOKZlibStream.cpp:144
bool existsSubStream(const char *name) override
Definition: EBOOKZlibStream.cpp:134
const char * name
Definition: EBOOKHTMLToken.cpp:44
Definition: EBOOKZlibStream.h:20
bool isStructured() override
Definition: EBOOKZlibStream.cpp:119
std::unique_ptr< librevenge::RVNGInputStream > m_stream
Definition: EBOOKZlibStream.h:39
Definition: BBeBCollector.cpp:18
~EBOOKZlibStream() override
Definition: EBOOKZlibStream.cpp:115
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition: EBOOKZlibStream.cpp:139