PoDoFo 0.9.20
|
#include <InputDevice.h>
Public Member Functions | |
bool | Peek (char &ch) const |
![]() | |
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 | |
virtual bool | peek (char &ch) const =0 |
void | checkRead () const override |
![]() | |
virtual size_t | readBuffer (char *buffer, size_t size, bool &eof)=0 |
virtual bool | readChar (char &ch) |
This class represents an input device It optionally supports peeking
|
overrideprotectedvirtual |
Optional checks before reading By default does nothing
Reimplemented from PoDoFo::InputStream.
bool InputStreamDevice::Peek | ( | char & | ch | ) | const |
Peek at next char in stream. /returns true if success, false if EOF is encountered before peeking the character
|
protectedpure virtual |
Peek at next char in stream. /returns true if success, false if EOF
Implemented in PoDoFo::NullStreamDevice, and PoDoFo::PdfCanvasInputDevice.