Go to the documentation of this file.
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
librevenge::RVNGInputStream * getSubStreamById(unsigned id) override
Definition: IWORKMemoryStream.cpp:91
Definition: IWORKBezierElement.cpp:20
IWORKMemoryStream(const IWORKMemoryStream &other)
bool isEnd() override
Definition: IWORKMemoryStream.cpp:151
std::unique_ptr< unsigned char[]> m_data
Definition: IWORKMemoryStream.h:54
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: IWORKMemoryStream.cpp:96
long m_pos
Definition: IWORKMemoryStream.h:56
~IWORKMemoryStream() override
Definition: IWORKMemoryStream.cpp:67
uint8_t readU8(const RVNGInputStreamPtr_t &input, bool)
Definition: libetonyek_utils.cpp:48
Definition: libetonyek_utils.h:147
Definition: libetonyek_utils.h:151
@ size
Definition: IWORKToken.h:395
unsigned subStreamCount() override
Definition: IWORKMemoryStream.cpp:76
const char * subStreamName(unsigned id) override
Definition: IWORKMemoryStream.cpp:81
bool isStructured() override
Definition: IWORKMemoryStream.cpp:71
long tell() override
Definition: IWORKMemoryStream.cpp:146
@ pos
Definition: IWORKToken.h:592
IWORKMemoryStream & operator=(const IWORKMemoryStream &other)
void assign(const unsigned char *data, unsigned length)
Definition: IWORKMemoryStream.cpp:156
bool existsSubStream(const char *) override
Definition: IWORKMemoryStream.h:37
@ offset
Definition: IWORKToken.h:587
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: IWORKMemoryStream.cpp:117
@ end
Definition: IWORKToken.h:189
Definition: IWORKMemoryStream.h:21
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition: IWORKMemoryStream.cpp:86
@ name
Definition: IWORKToken.h:578
@ data
Definition: IWORKToken.h:174
long m_length
Definition: IWORKMemoryStream.h:55
Generated for libetonyek by
doxygen 1.8.17