Inkscape
Vector Graphics Editor
|
This class is for sending a stream to a Glib::ustring. More...
#include <stringstream.h>
Public Member Functions | |
StringOutputStream () | |
~StringOutputStream () override | |
void | close () override |
Closes this output stream and releases any system resources associated with this stream. | |
void | flush () override |
Flushes this output stream and forces any buffered output bytes to be written out. | |
int | put (char ch) override |
Writes the specified byte to this output stream. | |
virtual Glib::ustring & | getString () |
virtual void | clear () |
![]() | |
OutputStream ()=default | |
Constructor. | |
virtual | ~OutputStream ()=default |
Destructor. | |
Private Attributes | |
Glib::ustring | buffer |
This class is for sending a stream to a Glib::ustring.
Definition at line 66 of file stringstream.h.
|
default |
|
overridedefault |
|
inlinevirtual |
Definition at line 84 of file stringstream.h.
References buffer.
|
overridevirtual |
Closes this output stream and releases any system resources associated with this stream.
Implements Inkscape::IO::OutputStream.
Definition at line 96 of file stringstream.cpp.
|
overridevirtual |
Flushes this output stream and forces any buffered output bytes to be written out.
Implements Inkscape::IO::OutputStream.
Definition at line 104 of file stringstream.cpp.
|
inlinevirtual |
Definition at line 81 of file stringstream.h.
References buffer.
Referenced by Inkscape::Extension::Internal::formatTransform(), Inkscape::IO::XsltStyleSheet::read(), sp_repr_save_buf(), sp_repr_write_buf(), and Inkscape::IO::XsltInputStream::XsltInputStream().
|
overridevirtual |
Writes the specified byte to this output stream.
Implements Inkscape::IO::OutputStream.
Definition at line 112 of file stringstream.cpp.
References buffer.
|
private |
Definition at line 89 of file stringstream.h.
Referenced by clear(), getString(), and put().