#include <WPSOLEStream.h>
Public Types | |
enum | { Ok, OpenFailed, NotOLE, BadOLE, UnknownError } |
Public Member Functions | |
Storage (shared_ptr< WPXInputStream > is) | |
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. | |
std::vector< std::string > | getOLENames () |
Returns the list of all ole leaves names. | |
shared_ptr< WPXInputStream > | getDocumentOLEStream (const std::string &name) |
Returns a WPXInputStream corresponding to a name. | |
Private Member Functions | |
Storage (const Storage &) | |
Storage & | operator= (const Storage &) |
Private Attributes | |
StorageIO * | io |
Friends | |
class | Stream |
libwps::Storage::Storage | ( | shared_ptr< WPXInputStream > | is | ) |
Constructs a storage with data.
Destroys the storage.
libwps::Storage::Storage | ( | const Storage & | ) | [private] |
shared_ptr< WPXInputStream > libwps::Storage::getDocumentOLEStream | ( | const std::string & | name | ) |
Returns a WPXInputStream corresponding to a name.
std::vector< std::string > libwps::Storage::getOLENames | ( | ) |
Returns the list of all ole leaves names.
bool libwps::Storage::isOLEStream | ( | ) |
Checks whether the storage is OLE2 storage.
int libwps::Storage::result | ( | ) |
Returns the error code of last operation.
friend class Stream [friend] |
StorageIO* libwps::Storage::io [private] |
Referenced by Storage().