PoDoFo 0.9.20
List of all members
PoDoFo::StreamDevice Class Reference

#include <StreamDevice.h>

Inheritance diagram for PoDoFo::StreamDevice:
PoDoFo::InputStreamDevice PoDoFo::InputStream PoDoFo::NullStreamDevice

Additional Inherited Members

- Public Member Functions inherited from PoDoFo::InputStreamDevice
bool Peek (char &ch) const
 
- Public Member Functions inherited from PoDoFo::InputStream
void Read (char *buffer, size_t size)
 
size_t Read (char *buffer, size_t size, bool &eof)
 
char ReadChar ()
 
bool Read (char &ch)
 
- Protected Member Functions inherited from PoDoFo::InputStreamDevice
virtual bool peek (char &ch) const =0
 
void checkRead () const override
 
- Protected Member Functions inherited from PoDoFo::InputStream
virtual size_t readBuffer (char *buffer, size_t size, bool &eof)=0
 
virtual bool readChar (char &ch)
 

Detailed Description

This class provides an output device which operates either on a file or on a buffer in memory. Additionally it can count the bytes written to the device.

This class is suitable for inheritance to provide output devices of your own. Just override the required virtual methods.