libwps: libwps::Stream Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# 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 &)
Stream & | operator= (const Stream &)
## Private Attributes
StreamIO * | io
## 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:

- WPSOLEStream.h
- WPSOLEStream.cpp