10 #ifndef EBOOKMEMORYSTREAM_H_INCLUDED 11 #define EBOOKMEMORYSTREAM_H_INCLUDED 15 #include <librevenge-stream/librevenge-stream.h> 38 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
39 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
41 bool isEnd()
override;
44 std::unique_ptr<unsigned char[]>
m_data;
51 #endif // EBOOKMEMORYSTREAM_H_INCLUDED Definition: EBOOKMemoryStream.h:20
EBOOKMemoryStream & operator=(const EBOOKMemoryStream &other)
unsigned offset
Definition: SoftBookParser.cpp:74
long tell() override
Definition: EBOOKMemoryStream.cpp:120
std::unique_ptr< unsigned char[]> m_data
Definition: EBOOKMemoryStream.h:44
bool existsSubStream(const char *name) override
Definition: EBOOKMemoryStream.cpp:55
MSPackFileData * data
Definition: HTMLHelpStream.cpp:63
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition: EBOOKMemoryStream.cpp:60
unsigned length
Definition: SoftBookParser.cpp:73
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: EBOOKMemoryStream.cpp:70
long m_pos
Definition: EBOOKMemoryStream.h:46
unsigned subStreamCount() override
Definition: EBOOKMemoryStream.cpp:45
const char * name
Definition: EBOOKHTMLToken.cpp:44
const char * subStreamName(unsigned id) override
Definition: EBOOKMemoryStream.cpp:50
EBOOKMemoryStream()
Definition: EBOOKMemoryStream.cpp:17
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: EBOOKMemoryStream.cpp:91
const long m_length
Definition: EBOOKMemoryStream.h:45
~EBOOKMemoryStream() override
Definition: EBOOKMemoryStream.cpp:36
Definition: BBeBCollector.cpp:18
bool isStructured() override
Definition: EBOOKMemoryStream.cpp:40
RVNGInputStream * getSubStreamById(unsigned id) override
Definition: EBOOKMemoryStream.cpp:65
bool isEnd() override
Definition: EBOOKMemoryStream.cpp:125