librevenge::Storage Class Reference

#include <RVNGOLEStream.h>

Public Types

enum  Result {
  Ok, OpenFailed, NotOLE, BadOLE,
  UnknownError
}
 

Public Member Functions

 Storage (RVNGInputStream *is)
 Constructs a storage with data. More...
 
 ~Storage ()
 Destroys the storage. More...
 
bool isStructured ()
 Checks whether the storage is OLE2 storage. More...
 
std::vector< std::string > getSubStreamNamesList ()
 Returns the list of substream name. 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

librevenge::Storage::Storage ( RVNGInputStream is)

Constructs a storage with data.

librevenge::Storage::~Storage ( )

Destroys the storage.

librevenge::Storage::Storage ( const Storage )
private

Member Function Documentation

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

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

Friends And Related Function Documentation

friend class Stream
friend

Member Data Documentation

IStorage* librevenge::Storage::m_io
private

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

Generated for librevenge by doxygen 1.8.7