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);
51 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType);
virtual const char * subStreamName(unsigned)
Definition: FHInternalStream.h:34
volatile long m_offset
Definition: FHInternalStream.h:60
~FHInternalStream()
Definition: FHInternalStream.h:25
virtual unsigned subStreamCount()
Definition: FHInternalStream.h:30
Definition: FHInternalStream.h:21
virtual librevenge::RVNGInputStream * getSubStreamByName(const char *)
Definition: FHInternalStream.h:42
virtual bool isStructured()
Definition: FHInternalStream.h:26
unsigned long getSize() const
Definition: FHInternalStream.h:54
virtual bool existsSubStream(const char *)
Definition: FHInternalStream.h:38
FHInternalStream(librevenge::RVNGInputStream *input, unsigned long size, bool compressed=false)
Definition: FHInternalStream.cpp:19
bool isEnd()
Definition: FHInternalStream.cpp:144
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType)
Definition: FHInternalStream.cpp:118
virtual librevenge::RVNGInputStream * getSubStreamById(unsigned)
Definition: FHInternalStream.h:46
std::vector< unsigned char > m_buffer
Definition: FHInternalStream.h:61
FHInternalStream & operator=(const FHInternalStream &)
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Definition: FHInternalStream.cpp:93
long tell()
Definition: FHInternalStream.cpp:139