/*
5 * Authors: see git history
7 * Copyright (C) 2018 Authors
8 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
10#ifndef SEEN_INKSCAPE_IO_STRINGSTREAM_H
11#define SEEN_INKSCAPE_IO_STRINGSTREAM_H
13#include <glibmm/ustring.h>
43 void close()
override;
75 void close()
override;
77 void flush()
override;
79 int put(
char ch)
override;
This interface is the base of all input stream classes.
This class is for sending a stream to a Glib::ustring.
void close() override
Closes this output stream and releases any system resources associated with this stream.
virtual Glib::ustring & getString()
int put(char ch) override
Writes the specified byte to this output stream.
void flush() override
Flushes this output stream and forces any buffered output bytes to be written out.
~StringOutputStream() override
Helper class to stream background task notifications as a series of messages.