LibreOffice Module shell (master) 1
Public Member Functions | Private Attributes | List of all members
BufferStream Class Reference

#include <stream_helper.hxx>

Inheritance diagram for BufferStream:
[legend]
Collaboration diagram for BufferStream:
[legend]

Public Member Functions

 BufferStream (IStream *str)
 
 ~BufferStream () override
 
unsigned long sread (unsigned char *vuf, unsigned long size) override
 
long stell () override
 
long sseek (long offset, int origin) override
 
- Public Member Functions inherited from StreamInterface
virtual ~StreamInterface ()
 
virtual unsigned long sread (unsigned char *vuf, unsigned long size)=0
 
virtual long stell ()=0
 
virtual long sseek (long offset, int origin)=0
 

Private Attributes

IStream * stream
 

Detailed Description

Definition at line 28 of file stream_helper.hxx.

Constructor & Destructor Documentation

◆ BufferStream()

BufferStream::BufferStream ( IStream *  str)

Definition at line 30 of file stream_helper.cxx.

References nCount, stream, and stream.

◆ ~BufferStream()

BufferStream::~BufferStream ( )
override

Definition at line 43 of file stream_helper.cxx.

Member Function Documentation

◆ sread()

unsigned long BufferStream::sread ( unsigned char *  vuf,
unsigned long  size 
)
overridevirtual

Implements StreamInterface.

Definition at line 47 of file stream_helper.cxx.

References hr, size, and stream.

◆ sseek()

long BufferStream::sseek ( long  offset,
int  origin 
)
overridevirtual

Implements StreamInterface.

Definition at line 74 of file stream_helper.cxx.

References hr, Move, and stream.

◆ stell()

long BufferStream::stell ( )
overridevirtual

Implements StreamInterface.

Definition at line 59 of file stream_helper.cxx.

References hr, Move, and stream.

Member Data Documentation

◆ stream

IStream* BufferStream::stream
private

Definition at line 38 of file stream_helper.hxx.

Referenced by BufferStream(), sread(), sseek(), and stell().


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