libwps::Stream Class Reference

#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 &)
 
Streamoperator= (const Stream &)
 

Private Attributes

StreamIOio
 

Friends

class Storage
 
class StorageIO
 

Constructor & Destructor Documentation

◆ Stream() [1/2]

libwps::Stream::Stream ( libwps::Storage storage,
const std::string &  name 
)

Creates a new stream.

◆ ~Stream()

libwps::Stream::~Stream ( )

Destroys the stream.

◆ Stream() [2/2]

libwps::Stream::Stream ( const Stream )
private

Member Function Documentation

◆ operator=()

Stream& libwps::Stream::operator= ( const Stream )
private

◆ read()

unsigned long libwps::Stream::read ( unsigned char *  data,
unsigned long  maxlen 
)

Reads a block of data.

Referenced by libwps::Storage::getDocumentOLEStream().

◆ size()

unsigned long libwps::Stream::size ( )

Returns the stream size.

Referenced by libwps::Storage::getDocumentOLEStream().

Friends And Related Function Documentation

◆ Storage

friend class Storage
friend

◆ StorageIO

friend class StorageIO
friend

Member Data Documentation

◆ io

StreamIO* libwps::Stream::io
private

Referenced by read(), size(), and ~Stream().


The documentation for this class was generated from the following files:

Generated on Sat Oct 20 2018 10:26:42 for libwps by doxygen 1.8.13