libwpg::Storage Class Reference

#include <WPGOLEStream.h>

List of all members.

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

Private Attributes

StorageIOio

Friends

class Stream


Member Enumeration Documentation

anonymous enum

Enumerator:
Ok 
OpenFailed 
NotOLE 
BadOLE 
UnknownError 


Constructor & Destructor Documentation

libwpg::Storage::Storage ( const std::stringstream &  memorystream  ) 

Constructs a storage with data.

libwpg::Storage::~Storage (  ) 

Destroys the storage.

libwpg::Storage::Storage ( const Storage  )  [private]


Member Function Documentation

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().

Storage& libwpg::Storage::operator= ( const Storage  )  [private]


Friends And Related Function Documentation

friend class Stream [friend]


Member Data Documentation

Referenced by isOLEStream(), result(), Storage(), and ~Storage().


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

Generated on Sun Aug 17 10:41:07 2008 for libwpg by doxygen 1.5.6