librevenge::Stream Class Reference

#include <RVNGOLEStream.h>

Public Member Functions

 Stream (Storage *storage, const std::string &name)
 Creates a new stream.
 
 ~Stream ()
 Destroys the stream.
 
unsigned long size ()
 Returns the stream size.
 
unsigned long read (unsigned char *data, unsigned long maxlen)
 Reads a block of data.
 

Private Member Functions

 Stream (const Stream &)
 
Streamoperator= (const Stream &)
 

Private Attributes

std::unique_ptr< IStreamm_io
 

Friends

class Storage
 
class IStorage
 

Constructor & Destructor Documentation

◆ Stream() [1/2]

librevenge::Stream::Stream ( librevenge::Storage * storage,
const std::string & name )

Creates a new stream.

◆ ~Stream()

librevenge::Stream::~Stream ( )

Destroys the stream.

◆ Stream() [2/2]

librevenge::Stream::Stream ( const Stream & )
private

Member Function Documentation

◆ operator=()

Stream & librevenge::Stream::operator= ( const Stream & )
private

◆ read()

unsigned long librevenge::Stream::read ( unsigned char * data,
unsigned long maxlen )

◆ size()

unsigned long librevenge::Stream::size ( )

Friends And Related Symbol Documentation

◆ IStorage

friend class IStorage
friend

◆ Storage

friend class Storage
friend

Member Data Documentation

◆ m_io

std::unique_ptr<IStream> librevenge::Stream::m_io
private

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

Generated for librevenge by doxygen 1.12.0