Inkscape
Vector Graphics Editor
|
Convenience class for writing to standard output. More...
#include <inkscapestream.h>
Public Member Functions | |
StdWriter () | |
~StdWriter () override | |
void | close () override |
Close the underlying OutputStream. | |
void | flush () override |
Flush the underlying OutputStream. | |
void | put (char ch) override |
Overloaded to redirect the output chars from the next Writer in the chain to an OutputStream instead. | |
![]() | |
BasicWriter (Writer &destinationWriter) | |
~BasicWriter () override=default | |
Writer & | printf (char const *fmt,...) override G_GNUC_PRINTF(2 |
Provide printf()-like formatting. | |
Writer Writer & | writeChar (char val) override |
Writes the specified character to this output writer. | |
Writer & | writeUString (const Glib::ustring &val) override |
Writes the specified unicode string to this output writer. | |
Writer & | writeStdString (const std::string &val) override |
Writes the specified standard string to this output writer. | |
Writer & | writeString (const char *str) override |
Writes the specified character string to this output writer. | |
Writer & | writeBool (bool val) override |
Writer & | writeShort (short val) override |
Writer & | writeUnsignedShort (unsigned short val) override |
Writer & | writeInt (int val) override |
Writer & | writeUnsignedInt (unsigned int val) override |
Writer & | writeLong (long val) override |
Writer & | writeUnsignedLong (unsigned long val) override |
Writer & | writeFloat (float val) override |
Writer & | writeDouble (double val) override |
![]() | |
Writer ()=default | |
Constructor. | |
virtual | ~Writer ()=default |
Destructor. | |
Private Attributes | |
OutputStream * | outputStream |
Additional Inherited Members | |
![]() | |
BasicWriter () | |
![]() | |
Writer * | destination |
Convenience class for writing to standard output.
Definition at line 635 of file inkscapestream.h.
Inkscape::IO::StdWriter::StdWriter | ( | ) |
Definition at line 751 of file inkscapestream.cpp.
References outputStream.
|
override |
Definition at line 760 of file inkscapestream.cpp.
References outputStream.
|
overridevirtual |
Close the underlying OutputStream.
Reimplemented from Inkscape::IO::BasicWriter.
Definition at line 770 of file inkscapestream.cpp.
References Inkscape::IO::OutputStream::close(), flush(), and outputStream.
|
overridevirtual |
Flush the underlying OutputStream.
Reimplemented from Inkscape::IO::BasicWriter.
Definition at line 779 of file inkscapestream.cpp.
References Inkscape::IO::OutputStream::flush(), and outputStream.
Referenced by close().
|
overridevirtual |
Overloaded to redirect the output chars from the next Writer in the chain to an OutputStream instead.
Reimplemented from Inkscape::IO::BasicWriter.
Definition at line 788 of file inkscapestream.cpp.
References outputStream, and Inkscape::IO::OutputStream::put().
|
private |
Definition at line 654 of file inkscapestream.h.
Referenced by close(), flush(), put(), StdWriter(), and ~StdWriter().