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