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