PoDoFo::PdfDeviceOutputStream Class Reference

#include <PdfOutputStream.h>

Inheritance diagram for PoDoFo::PdfDeviceOutputStream:

PoDoFo::PdfOutputStream

List of all members.

Public Member Functions

 PdfDeviceOutputStream (PdfOutputDevice *pDevice)
virtual long Write (const char *pBuffer, long lLen)
virtual void Close ()


Detailed Description

An output stream that writes to a PdfOutputDevice

Constructor & Destructor Documentation

PoDoFo::PdfDeviceOutputStream::PdfDeviceOutputStream ( PdfOutputDevice pDevice  ) 

Write to an already opened input device

Parameters:
pDevice an output device


Member Function Documentation

virtual void PoDoFo::PdfDeviceOutputStream::Close (  )  [inline, virtual]

Close the PdfOutputStream. This method may throw exceptions and has to be called before the descructor to end writing.

No more data may be written to the output device after calling close.

Implements PoDoFo::PdfOutputStream.

long PoDoFo::PdfDeviceOutputStream::Write ( const char *  pBuffer,
long  lLen 
) [virtual]

Write data to the output stream

Parameters:
pBuffer the data is read from this buffer
lLen the size of the buffer
Returns:
the number of bytes written, -1 if an error ocurred

Implements PoDoFo::PdfOutputStream.


Generated on Sat May 2 02:53:20 2009 for PoDoFo by  doxygen 1.5.7.1