libwpd::Storage Class Reference

#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 &)
 
Storageoperator= (const Storage &)
 

Private Attributes

IStoragem_io
 

Friends

class Stream
 

Member Enumeration Documentation

Enumerator
Ok 
OpenFailed 
NotOLE 
BadOLE 
UnknownError 

Constructor & Destructor Documentation

libwpd::Storage::Storage ( WPXInputStream is)

Constructs a storage with data.

libwpd::Storage::~Storage ( )

Destroys the storage.

libwpd::Storage::Storage ( const Storage )
private

Member Function Documentation

bool libwpd::Storage::isOLEStream ( )

Checks whether the storage is OLE2 storage.

Referenced by WPXFileStream::isOLEStream(), and WPXStringStream::isOLEStream().

Storage& libwpd::Storage::operator= ( const Storage )
private
libwpd::Storage::Result libwpd::Storage::result ( )

Returns the error code of last operation.

Referenced by WPXFileStream::getDocumentOLEStream(), and WPXStringStream::getDocumentOLEStream().

Friends And Related Function Documentation

friend class Stream
friend

Member Data Documentation

IStorage* libwpd::Storage::m_io
private

Referenced by Storage(), and libwpd::Stream::Stream().


The documentation for this class was generated from the following files:

Generated for libwpd by doxygen 1.8.5