11 #ifndef __FHINTERNALSTREAM_H__ 12 #define __FHINTERNALSTREAM_H__ 16 #include <librevenge-stream/librevenge-stream.h> 24 FHInternalStream(librevenge::RVNGInputStream *input,
unsigned long size,
bool compressed=
false);
50 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
51 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
53 bool isEnd()
override;
volatile long m_offset
Definition: FHInternalStream.h:60
librevenge::RVNGInputStream * getSubStreamById(unsigned) override
Definition: FHInternalStream.h:46
bool isEnd() override
Definition: FHInternalStream.cpp:146
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: FHInternalStream.cpp:118
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: FHInternalStream.cpp:93
unsigned long getSize() const
Definition: FHInternalStream.h:54
Definition: FHCollector.h:22
Definition: FHInternalStream.h:21
~FHInternalStream() override
Definition: FHInternalStream.h:25
const char * subStreamName(unsigned) override
Definition: FHInternalStream.h:34
FHInternalStream(librevenge::RVNGInputStream *input, unsigned long size, bool compressed=false)
Definition: FHInternalStream.cpp:19
bool isStructured() override
Definition: FHInternalStream.h:26
std::vector< unsigned char > m_buffer
Definition: FHInternalStream.h:61
FHInternalStream & operator=(const FHInternalStream &)
bool existsSubStream(const char *) override
Definition: FHInternalStream.h:38
librevenge::RVNGInputStream * getSubStreamByName(const char *) override
Definition: FHInternalStream.h:42
unsigned subStreamCount() override
Definition: FHInternalStream.h:30
long tell() override
Definition: FHInternalStream.cpp:141