Inkscape
Vector Graphics Editor
|
This is the class that most users should inherit, to provide their own output streams. More...
#include <inkscapestream.h>
Public Member Functions | |
BasicOutputStream (OutputStream &destinationStream) | |
~BasicOutputStream () override=default | |
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. | |
![]() | |
OutputStream ()=default | |
Constructor. | |
virtual | ~OutputStream ()=default |
Destructor. | |
Protected Attributes | |
bool | closed |
OutputStream & | destination |
This is the class that most users should inherit, to provide their own output streams.
Definition at line 205 of file inkscapestream.h.
Inkscape::IO::BasicOutputStream::BasicOutputStream | ( | OutputStream & | destinationStream | ) |
Definition at line 97 of file inkscapestream.cpp.
References closed.
|
overridedefault |
|
overridevirtual |
Closes this output stream and releases any system resources associated with this stream.
Implements Inkscape::IO::OutputStream.
Reimplemented in Inkscape::IO::GzipOutputStream, and Inkscape::IO::XsltOutputStream.
Definition at line 107 of file inkscapestream.cpp.
References Inkscape::IO::OutputStream::close(), closed, and destination.
|
overridevirtual |
Flushes this output stream and forces any buffered output bytes to be written out.
Implements Inkscape::IO::OutputStream.
Reimplemented in Inkscape::IO::GzipOutputStream, and Inkscape::IO::XsltOutputStream.
Definition at line 119 of file inkscapestream.cpp.
References closed, destination, and Inkscape::IO::OutputStream::flush().
|
overridevirtual |
Writes the specified byte to this output stream.
Implements Inkscape::IO::OutputStream.
Reimplemented in Inkscape::IO::GzipOutputStream, and Inkscape::IO::XsltOutputStream.
Definition at line 129 of file inkscapestream.cpp.
References closed, destination, and Inkscape::IO::OutputStream::put().
|
protected |
Definition at line 222 of file inkscapestream.h.
Referenced by BasicOutputStream(), Inkscape::IO::GzipOutputStream::close(), close(), Inkscape::IO::GzipOutputStream::flush(), flush(), Inkscape::IO::GzipOutputStream::put(), and put().
|
protected |
Definition at line 224 of file inkscapestream.h.
Referenced by Inkscape::IO::GzipOutputStream::close(), close(), Inkscape::IO::XsltOutputStream::close(), Inkscape::IO::GzipOutputStream::flush(), flush(), Inkscape::IO::XsltOutputStream::flush(), Inkscape::IO::GzipOutputStream::GzipOutputStream(), and put().