libwps: libwps::Storage Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

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

# libwps::Storage Class Reference

`#include <WPSOLEStream.h>`

List of all members.

## Public Types
enum | { Ok, OpenFailed, NotOLE, BadOLE, UnknownError }
## Public Member Functions
| Storage (const std::stringstream &memorystream)
| Constructs a storage with data.
| ~Storage ()
| Destroys the storage.
bool | isOLEStream ()
| Checks whether the storage is OLE2 storage.
int | result ()
| Returns the error code of last operation.
## Private Member Functions
| Storage (const Storage &)
Storage & | operator= (const Storage &)
## Private Attributes
StorageIO * | io
## Friends
class | Stream

## Member Enumeration Documentation

anonymous enum

Enumerator:

  Ok |
  OpenFailed |
  NotOLE |
  BadOLE |
  UnknownError |

## Constructor & Destructor Documentation

libwps::Storage::Storage | ( | const std::stringstream & | memorystream | ) |

Constructs a storage with data.

libwps::Storage::~Storage | ( |  | ) |

Destroys the storage.

libwps::Storage::Storage | ( | const Storage & |  | ) | `[private]`

## Member Function Documentation

bool libwps::Storage::isOLEStream | ( |  | ) |

Checks whether the storage is OLE2 storage.

int libwps::Storage::result | ( |  | ) |

Returns the error code of last operation.

Storage& libwps::Storage::operator= | ( | const Storage & |  | ) | `[private]`

## Friends And Related Function Documentation

friend class Stream`[friend]`

## Member Data Documentation

StorageIO* libwps::Storage::io`[private]`

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

- WPSOLEStream.h
- WPSOLEStream.cpp