20#ifndef RVNGSTREAMIMPLEMENTATION_H
21#define RVNGSTREAMIMPLEMENTATION_H
38 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
64 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
Definition RVNGStreamImplementation.cpp:44
RVNGFileStream(const RVNGFileStream &)
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Tries to read a given number of bytes starting from the current position inside the input stream.
Definition RVNGStreamImplementation.cpp:147
RVNGFileStream(const char *filename)
Definition RVNGStreamImplementation.cpp:107
bool existsSubStream(const char *name)
Definition RVNGStreamImplementation.cpp:322
RVNGInputStream * getSubStreamByName(const char *name)
Extracts a named stream from an OLE2 storage.
Definition RVNGStreamImplementation.cpp:345
long tell()
Returns the actual position inside the input stream.
Definition RVNGStreamImplementation.cpp:220
int seek(long offset, RVNG_SEEK_TYPE seekType)
Moves to the next location inside the input stream.
Definition RVNGStreamImplementation.cpp:227
RVNGFileStream & operator=(const RVNGFileStream &)
RVNGFileStreamPrivate * d
Definition RVNGStreamImplementation.h:51
unsigned subStreamCount()
Definition RVNGStreamImplementation.cpp:309
bool isStructured()
Analyses the content of the input stream to see whether it is an OLE2 storage.
Definition RVNGStreamImplementation.cpp:273
bool isEnd()
Determines whether the current position is at the end of the stream.
Definition RVNGStreamImplementation.cpp:266
const char * subStreamName(unsigned id)
Definition RVNGStreamImplementation.cpp:315
RVNGInputStream * getSubStreamById(unsigned id)
Definition RVNGStreamImplementation.cpp:340
Definition RVNGStreamImplementation.cpp:61
RVNGStringStreamPrivate * d
Definition RVNGStreamImplementation.h:77
bool isEnd()
Determines whether the current position is at the end of the stream.
Definition RVNGStreamImplementation.cpp:446
RVNGStringStream & operator=(const RVNGStringStream &)
int seek(long offset, RVNG_SEEK_TYPE seekType)
Moves to the next location inside the input stream.
Definition RVNGStreamImplementation.cpp:423
RVNGStringStream(const RVNGStringStream &)
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
Tries to read a given number of bytes starting from the current position inside the input stream.
Definition RVNGStreamImplementation.cpp:392
RVNGInputStream * getSubStreamByName(const char *name)
Extracts a named stream from an OLE2 storage.
Definition RVNGStreamImplementation.cpp:523
const char * subStreamName(unsigned)
Definition RVNGStreamImplementation.cpp:493
RVNGInputStream * getSubStreamById(unsigned)
Definition RVNGStreamImplementation.cpp:518
bool existsSubStream(const char *name)
Definition RVNGStreamImplementation.cpp:500
unsigned subStreamCount()
Definition RVNGStreamImplementation.cpp:487
long tell()
Returns the actual position inside the input stream.
Definition RVNGStreamImplementation.cpp:418
RVNGStringStream(const unsigned char *data, const unsigned int dataSize)
Definition RVNGStreamImplementation.cpp:381
bool isStructured()
Analyses the content of the input stream to see whether it is an OLE2 storage.
Definition RVNGStreamImplementation.cpp:454
#define REVENGE_STREAM_API
Definition librevenge-stream-api.h:34
Definition RVNGBinaryData.cpp:39
RVNG_SEEK_TYPE
Definition RVNGStream.h:27