#include <RVNGOLEStream.h>
Public Types | |
enum | Result { Ok , OpenFailed , NotOLE , BadOLE , UnknownError } |
Public Member Functions | |
Storage (RVNGInputStream *is) | |
Constructs a storage with data. | |
~Storage () | |
Destroys the storage. | |
bool | isStructured () |
Checks whether the storage is OLE2 storage. | |
std::vector< std::string > | getSubStreamNamesList () |
Returns the list of substream name. | |
Result | result () |
Returns the error code of last operation. |
Private Member Functions | |
Storage (const Storage &) | |
Storage & | operator= (const Storage &) |
Private Attributes | |
std::unique_ptr< IStorage > | m_io |
Friends | |
class | Stream |
librevenge::Storage::Storage | ( | RVNGInputStream * | is | ) |
Constructs a storage with data.
Referenced by operator=(), and Storage().
librevenge::Storage::~Storage | ( | ) |
Destroys the storage.
|
private |
std::vector< std::string > librevenge::Storage::getSubStreamNamesList | ( | ) |
Returns the list of substream name.
Referenced by librevenge::RVNGFileStream::isStructured(), and librevenge::RVNGStringStream::isStructured().
bool librevenge::Storage::isStructured | ( | ) |
Checks whether the storage is OLE2 storage.
Referenced by librevenge::RVNGFileStream::isStructured(), and librevenge::RVNGStringStream::isStructured().
librevenge::Storage::Result librevenge::Storage::result | ( | ) |
Returns the error code of last operation.
Referenced by librevenge::RVNGFileStream::getSubStreamByName(), and librevenge::RVNGStringStream::getSubStreamByName().
|
private |
Referenced by getSubStreamNamesList(), isStructured(), result(), and Storage().