22 #include <librevenge-stream/librevenge-stream.h>
40 void append(
const unsigned char *data,
const unsigned int dataSize);
45 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
51 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType);
const char * subStreamName(unsigned)
returns the ith sub streams name
Definition: MWAWStringStream.cxx:147
Definition: MWAWStringStream.cxx:29
MWAWStringStreamPrivate * d
Definition: MWAWStringStream.hxx:81
bool existsSubStream(const char *name)
returns true if a substream with name exists
Definition: MWAWStringStream.cxx:152
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead)
! reads numbytes data.
Definition: MWAWStringStream.cxx:77
void append(const unsigned char *data, const unsigned int dataSize)
append some data at the end of the string
Definition: MWAWStringStream.cxx:72
librevenge::RVNGInputStream * getSubStreamById(unsigned)
return a new stream for a ole zone
Definition: MWAWStringStream.cxx:157
librevenge::RVNGInputStream * getSubStreamByName(const char *name)
return a new stream for a ole zone
Definition: MWAWStringStream.cxx:162
MWAWStringStream & operator=(const MWAWStringStream &)
long tell()
returns actual offset position
Definition: MWAWStringStream.cxx:103
internal class used to create a RVNGInputStream from a unsigned char's pointer
Definition: MWAWStringStream.hxx:31
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType)
seeks to a offset position, from actual, beginning or ending position
Definition: MWAWStringStream.cxx:108
bool isStructured()
returns true if the stream is ole
Definition: MWAWStringStream.cxx:137
bool isEnd()
returns true if we are at the end of the section/file
Definition: MWAWStringStream.cxx:129
unsigned subStreamCount()
returns the number of sub streams.
Definition: MWAWStringStream.cxx:142
MWAWStringStream(const unsigned char *data, const unsigned int dataSize)
constructor
Definition: MWAWStringStream.cxx:61
~MWAWStringStream()
destructor
Definition: MWAWStringStream.cxx:67