Go to the documentation of this file.
10 #ifndef __CDRINTERNALSTREAM_H__
11 #define __CDRINTERNALSTREAM_H__
15 #include <librevenge-stream/librevenge-stream.h>
23 CDRInternalStream(librevenge::RVNGInputStream *input,
unsigned long size,
bool compressed=
false);
51 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
52 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
54 bool isEnd()
override;
unsigned subStreamCount() override
Definition: CDRInternalStream.h:31
#define CHUNK
Definition: CDRInternalStream.cpp:16
volatile long m_offset
Definition: CDRInternalStream.h:61
Definition: CDRInternalStream.h:20
std::vector< unsigned char > m_buffer
Definition: CDRInternalStream.h:62
const char * subStreamName(unsigned) override
Definition: CDRInternalStream.h:35
bool isEnd() override
Definition: CDRInternalStream.cpp:151
CDRInternalStream(librevenge::RVNGInputStream *input, unsigned long size, bool compressed=false)
Definition: CDRInternalStream.cpp:25
unsigned long getSize() const
Definition: CDRInternalStream.h:55
Definition: CDRCollector.h:24
librevenge::RVNGInputStream * getSubStreamById(unsigned) override
Definition: CDRInternalStream.h:47
CDRInternalStream & operator=(const CDRInternalStream &)
~CDRInternalStream() override
Definition: CDRInternalStream.h:25
librevenge::RVNGInputStream * getSubStreamByName(const char *) override
Definition: CDRInternalStream.h:43
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: CDRInternalStream.cpp:98
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: CDRInternalStream.cpp:123
bool isStructured() override
Definition: CDRInternalStream.h:27
long tell() override
Definition: CDRInternalStream.cpp:146
bool existsSubStream(const char *) override
Definition: CDRInternalStream.h:39
Generated for libcdr by
doxygen 1.8.16