PoDoFo  1.0.0-dev
Public Member Functions | Protected Member Functions | List of all members
PoDoFo::PdfStringStream Class Referencefinal

A specialized Pdf output string stream It supplies an iostream-like operator<< interface, while still inheriting OutputStream. More...

#include <PdfStringStream.h>

Inheritance diagram for PoDoFo::PdfStringStream:
PoDoFo::OutputStream

Public Member Functions

template<typename T >
PdfStringStreamoperator<< (T const &val)
 
PdfStringStreamoperator<< (std::ostream &(*pfn)(std::ostream &))
 
PdfStringStreamoperator<< (float val)
 
PdfStringStreamoperator<< (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. More...
 
void Write (const std::string_view &view)
 Write the view to the OutputStream. More...
 
void Write (const char *buffer, size_t size)
 Write data to the output stream. More...
 
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)
 

Detailed Description

A specialized Pdf output string stream It supplies an iostream-like operator<< interface, while still inheriting OutputStream.


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