10 #ifndef IWORKMEMORYSTREAM_H_INCLUDED 11 #define IWORKMEMORYSTREAM_H_INCLUDED 44 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
45 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
47 bool isEnd()
override;
50 void assign(
const unsigned char *data,
unsigned length);
54 std::unique_ptr<unsigned char[]>
m_data;
61 #endif // IWORKMEMORYSTREAM_H_INCLUDED bool isStructured() override
Definition: IWORKMemoryStream.cpp:71
Definition: IWORKBezierElement.cpp:18
std::unique_ptr< unsigned char[]> m_data
Definition: IWORKMemoryStream.h:54
long m_length
Definition: IWORKMemoryStream.h:55
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: IWORKMemoryStream.cpp:96
bool isEnd() override
Definition: IWORKMemoryStream.cpp:151
long tell() override
Definition: IWORKMemoryStream.cpp:146
const char * name
Definition: IWORKToken.cpp:43
librevenge::RVNGInputStream * getSubStreamById(unsigned id) override
Definition: IWORKMemoryStream.cpp:91
long m_pos
Definition: IWORKMemoryStream.h:56
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: IWORKMemoryStream.cpp:117
Definition: IWORKMemoryStream.h:21
bool existsSubStream(const char *) override
Definition: IWORKMemoryStream.h:37
void assign(const unsigned char *data, unsigned length)
Definition: IWORKMemoryStream.cpp:156
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
Definition: IWORKToken.h:101
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition: IWORKMemoryStream.cpp:86
const char * subStreamName(unsigned id) override
Definition: IWORKMemoryStream.cpp:81
~IWORKMemoryStream() override
Definition: IWORKMemoryStream.cpp:67
Definition: IWORKToken.h:350
IWORKMemoryStream & operator=(const IWORKMemoryStream &other)
unsigned subStreamCount() override
Definition: IWORKMemoryStream.cpp:76
IWORKMemoryStream(const IWORKMemoryStream &other)