|
PoDoFo 1.1.0
|
A specialized Pdf output string stream It supplies an iostream-like operator<< interface, while still inheriting OutputStream. More...
#include <PdfStringStream.h>
Public Member Functions | |
| template<typename T > | |
| PdfStringStream & | operator<< (T const &val) |
| PdfStringStream & | operator<< (std::ostream &(*pfn)(std::ostream &)) |
| PdfStringStream & | operator<< (float val) |
| PdfStringStream & | operator<< (double val) |
| std::string_view | GetString () const |
| std::string | TakeString () |
| void | Clear () |
| void | SetPrecision (unsigned short value) |
| unsigned short | GetPrecision () const |
| unsigned | GetSize () const |
| operator std::ostream & () | |
Public Member Functions inherited from PoDoFo::OutputStream | |
| void | Write (char ch) |
| Write the character in the device. | |
| void | Write (const std::string_view &view) |
| Write the view to the OutputStream. | |
| void | Write (const char *buffer, size_t size) |
| Write data to the output stream. | |
| void | Flush () |
Protected Member Functions | |
| void | writeBuffer (const char *buffer, size_t size) |
Protected Member Functions inherited from PoDoFo::OutputStream | |
| virtual void | flush () |
| virtual void | checkWrite () const |
| Optional checks before writing By default does nothing. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from PoDoFo::OutputStream | |
| static void | WriteBuffer (OutputStream &stream, const char *buffer, size_t size) |
| static void | Flush (OutputStream &stream) |
A specialized Pdf output string stream It supplies an iostream-like operator<< interface, while still inheriting OutputStream.
Implements PoDoFo::OutputStream.