internal class used to create a RVNGInputStream from a unsigned char's pointer More...
#include <WPSStringStream.h>
Public Member Functions | |
WPSStringStream (const unsigned char *data, const unsigned int dataSize) | |
constructor | |
~WPSStringStream () final | |
destructor | |
void | append (const unsigned char *data, const unsigned int dataSize) |
append some data at the end of the string | |
const unsigned char * | read (unsigned long numBytes, unsigned long &numBytesRead) final |
! reads numbytes data. | |
long | tell () final |
returns actual offset position | |
int | seek (long offset, librevenge::RVNG_SEEK_TYPE seekType) final |
seeks to a offset position, from actual, beginning or ending position | |
bool | isEnd () final |
returns true if we are at the end of the section/file | |
bool | isStructured () final |
returns true if the stream is ole | |
unsigned | subStreamCount () final |
returns the number of sub streams. | |
const char * | subStreamName (unsigned) final |
returns the ith sub streams name | |
bool | existsSubStream (const char *name) final |
returns true if a substream with name exists | |
librevenge::RVNGInputStream * | getSubStreamByName (const char *name) final |
return a new stream for a ole zone | |
librevenge::RVNGInputStream * | getSubStreamById (unsigned) final |
return a new stream for a ole zone | |
Private Member Functions | |
WPSStringStream (const WPSStringStream &)=delete | |
WPSStringStream & | operator= (const WPSStringStream &)=delete |
Private Attributes | |
std::unique_ptr< WPSStringStreamPrivate > | m_data |
the string stream data | |
internal class used to create a RVNGInputStream from a unsigned char's pointer
constructor
|
final |
destructor
|
privatedelete |
append some data at the end of the string
returns true if a substream with name exists
|
final |
return a new stream for a ole zone
return a new stream for a ole zone
|
final |
returns true if we are at the end of the section/file
|
final |
returns true if the stream is ole
|
privatedelete |
|
final |
! reads numbytes data.
seeks to a offset position, from actual, beginning or ending position
|
final |
returns the number of sub streams.
returns the ith sub streams name
|
final |
returns actual offset position
|
private |