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);
52 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType);
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType)
Definition: CDRInternalStream.cpp:123
unsigned subStreamCount()
Definition: CDRInternalStream.h:31
const char * subStreamName(unsigned)
Definition: CDRInternalStream.h:35
Definition: CDRInternalStream.h:20
bool existsSubStream(const char *)
Definition: CDRInternalStream.h:39
CDRInternalStream(librevenge::RVNGInputStream *input, unsigned long size, bool compressed=false)
Definition: CDRInternalStream.cpp:25
bool isStructured()
Definition: CDRInternalStream.h:27
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Definition: CDRInternalStream.cpp:98
librevenge::RVNGInputStream * getSubStreamById(unsigned)
Definition: CDRInternalStream.h:47
Definition: CDRCollector.h:29
long tell()
Definition: CDRInternalStream.cpp:146
CDRInternalStream & operator=(const CDRInternalStream &)
volatile long m_offset
Definition: CDRInternalStream.h:61
bool isEnd()
Definition: CDRInternalStream.cpp:151
librevenge::RVNGInputStream * getSubStreamByName(const char *)
Definition: CDRInternalStream.h:43
std::vector< unsigned char > m_buffer
Definition: CDRInternalStream.h:62
~CDRInternalStream()
Definition: CDRInternalStream.h:25
unsigned long getSize() const
Definition: CDRInternalStream.h:55