#include <WPSOLEStream.h>
Public Member Functions | |
Stream (Storage *storage, const std::string &name) | |
Creates a new stream. More... | |
~Stream () | |
Destroys the stream. More... | |
unsigned long | size () |
Returns the stream size. More... | |
unsigned long | read (unsigned char *data, unsigned long maxlen) |
Reads a block of data. More... | |
Private Member Functions | |
Stream (const Stream &) | |
Stream & | operator= (const Stream &) |
Private Attributes | |
StreamIO * | io |
Friends | |
class | Storage |
class | StorageIO |
libwps::Stream::Stream | ( | libwps::Storage * | storage, |
const std::string & | name | ||
) |
Creates a new stream.
libwps::Stream::~Stream | ( | ) |
Destroys the stream.
|
private |
unsigned long libwps::Stream::read | ( | unsigned char * | data, |
unsigned long | maxlen | ||
) |
Reads a block of data.
Referenced by libwps::Storage::getDocumentOLEStream().
unsigned long libwps::Stream::size | ( | ) |
Returns the stream size.
Referenced by libwps::Storage::getDocumentOLEStream().
|
friend |
|
friend |
|
private |