#include <WPSOLEStream.h>
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 |
| libwps::Storage::Storage | ( | const std::stringstream & | memorystream | ) |
Constructs a storage with data.
| libwps::Storage::~Storage | ( | ) |
Destroys the storage.
| libwps::Storage::Storage | ( | const Storage & | ) | [private] |
| bool libwps::Storage::isOLEStream | ( | ) |
Checks whether the storage is OLE2 storage.
Referenced by WPSMemoryStream::isOLEStream(), and WPSFileStream::isOLEStream().
| int libwps::Storage::result | ( | ) |
Returns the error code of last operation.
Referenced by WPSMemoryStream::getDocumentOLEStream(), and WPSFileStream::getDocumentOLEStream().
friend class Stream [friend] |
StorageIO* libwps::Storage::io [private] |
Referenced by isOLEStream(), result(), Storage(), and ~Storage().