22#ifndef STOFF_STRING_STREAM_HXX 
   23#define STOFF_STRING_STREAM_HXX 
   27#include <librevenge-stream/librevenge-stream.h> 
   45  void append(
const unsigned char *data, 
const unsigned int dataSize);
 
   50  const unsigned char *
read(
unsigned long numBytes, 
unsigned long &numBytesRead) 
final;
 
   56  int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType) 
final;
 
   87  std::unique_ptr<STOFFStringStreamPrivate> 
m_data;
 
 
internal data of a STOFFStringStream
Definition STOFFStringStream.cxx:31
unsigned subStreamCount() final
returns the number of sub streams.
Definition STOFFStringStream.cxx:148
const char * subStreamName(unsigned) final
returns the ith sub streams name
Definition STOFFStringStream.cxx:153
void append(const unsigned char *data, const unsigned int dataSize)
append some data at the end of the string
Definition STOFFStringStream.cxx:77
STOFFStringStream(const STOFFStringStream &)
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) final
!
Definition STOFFStringStream.cxx:82
librevenge::RVNGInputStream * getSubStreamByName(const char *name) final
return a new stream for a ole zone
Definition STOFFStringStream.cxx:168
bool isEnd() final
returns true if we are at the end of the section/file
Definition STOFFStringStream.cxx:135
bool isStructured() final
returns true if the stream is ole
Definition STOFFStringStream.cxx:143
bool existsSubStream(const char *name) final
returns true if a substream with name exists
Definition STOFFStringStream.cxx:158
std::unique_ptr< STOFFStringStreamPrivate > m_data
the string stream data
Definition STOFFStringStream.hxx:87
STOFFStringStream & operator=(const STOFFStringStream &)
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) final
seeks to a offset position, from actual, beginning or ending position
Definition STOFFStringStream.cxx:113
long tell() final
returns actual offset position
Definition STOFFStringStream.cxx:108
librevenge::RVNGInputStream * getSubStreamById(unsigned) final
return a new stream for a ole zone
Definition STOFFStringStream.cxx:163
~STOFFStringStream() final
destructor
Definition STOFFStringStream.cxx:73
STOFFStringStream(const unsigned char *data, const unsigned int dataSize)
constructor
Definition STOFFStringStream.cxx:67