#include <WPXOLEStream.h>
Public Types | |
enum | Result { Ok, OpenFailed, NotOLE, BadOLE, UnknownError } |
Public Member Functions | |
Storage (WPXInputStream *is) | |
Constructs a storage with data. More... | |
~Storage () | |
Destroys the storage. More... | |
bool | isOLEStream () |
Checks whether the storage is OLE2 storage. More... | |
Result | result () |
Returns the error code of last operation. More... | |
Private Member Functions | |
Storage (const Storage &) | |
Storage & | operator= (const Storage &) |
Private Attributes | |
IStorage * | m_io |
Friends | |
class | Stream |
libwpd::Storage::Storage | ( | WPXInputStream * | is) |
Constructs a storage with data.
libwpd::Storage::~Storage | ( | ) |
Destroys the storage.
|
private |
bool libwpd::Storage::isOLEStream | ( | ) |
Checks whether the storage is OLE2 storage.
Referenced by WPXFileStream::isOLEStream(), and WPXStringStream::isOLEStream().
libwpd::Storage::Result libwpd::Storage::result | ( | ) |
Returns the error code of last operation.
Referenced by WPXFileStream::getDocumentOLEStream(), and WPXStringStream::getDocumentOLEStream().
|
friend |
|
private |
Referenced by Storage(), and libwpd::Stream::Stream().