Inkscape
Vector Graphics Editor
|
This class is for sending a stream to a destination file. More...
#include <uristream.h>
Public Member Functions | |
FileOutputStream (FILE *fp) | |
~FileOutputStream () 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. | |
![]() | |
OutputStream ()=default | |
Constructor. | |
virtual | ~OutputStream ()=default |
Destructor. | |
Private Attributes | |
bool | ownsFile |
FILE * | outf |
This class is for sending a stream to a destination file.
Definition at line 68 of file uristream.h.
Inkscape::IO::FileOutputStream::FileOutputStream | ( | FILE * | fp | ) |
Definition at line 98 of file uristream.cpp.
References outf.
|
override |
Definition at line 111 of file uristream.cpp.
References close().
|
overridevirtual |
Closes this output stream and releases any system resources associated with this stream.
Implements Inkscape::IO::OutputStream.
Definition at line 120 of file uristream.cpp.
References outf, and ownsFile.
Referenced by ~FileOutputStream().
|
overridevirtual |
Flushes this output stream and forces any buffered output bytes to be written out.
Implements Inkscape::IO::OutputStream.
Definition at line 134 of file uristream.cpp.
References outf.
|
overridevirtual |
Writes the specified byte to this output stream.
Implements Inkscape::IO::OutputStream.
Definition at line 144 of file uristream.cpp.
References outf.
|
private |
Definition at line 87 of file uristream.h.
Referenced by close(), FileOutputStream(), flush(), and put().
|
private |
Definition at line 85 of file uristream.h.
Referenced by close().