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

unsigned long libwps::Stream::size (  ) 

Returns the stream size.

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

Reads a block of data.

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


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 Tue Oct 23 16:47:08 2007 for libwps by doxygen 1.5.1