libwps::Stream Class Reference

#include <WPSOLEStream.h>

List of all members.

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

Private Attributes

StreamIOio

Friends

class Storage
class StorageIO


Constructor & Destructor Documentation

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

Creates a new stream.

libwps::Stream::~Stream  ) 
 

Destroys the stream.

libwps::Stream::Stream const Stream  )  [private]
 


Member Function Documentation

Stream& libwps::Stream::operator= const Stream  )  [private]
 

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

Reads a block of data.

unsigned long libwps::Stream::size  ) 
 

Returns the stream size.


Friends And Related Function Documentation

friend class Storage [friend]
 

friend class StorageIO [friend]
 


Member Data Documentation

StreamIO* libwps::Stream::io [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Jan 7 17:19:00 2009 for libwps by doxygen 1.4.6