Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::IO::StdOutputStream Class Reference

Convenience class for writing to standard output. More...

#include <inkscapestream.h>

Inheritance diagram for Inkscape::IO::StdOutputStream:
Inkscape::IO::OutputStream

Public Member Functions

void close () override
 This call should.
 
void flush () override
 This call should push any pending data it might have to the destination stream.
 
int put (char ch) override
 Send one byte to the destination stream.
 
- Public Member Functions inherited from Inkscape::IO::OutputStream
 OutputStream ()=default
 Constructor.
 
virtual ~OutputStream ()=default
 Destructor.
 

Detailed Description

Convenience class for writing to standard output.

Definition at line 234 of file inkscapestream.h.

Member Function Documentation

◆ close()

void Inkscape::IO::StdOutputStream::close ( )
inlineoverridevirtual

This call should.

  1. flush itself
  2. close itself
  3. close the destination stream

Implements Inkscape::IO::OutputStream.

Definition at line 238 of file inkscapestream.h.

◆ flush()

void Inkscape::IO::StdOutputStream::flush ( )
inlineoverridevirtual

This call should push any pending data it might have to the destination stream.

It should NOT call flush() on the destination stream.

Implements Inkscape::IO::OutputStream.

Definition at line 241 of file inkscapestream.h.

◆ put()

int Inkscape::IO::StdOutputStream::put ( char  ch)
inlineoverridevirtual

Send one byte to the destination stream.

Implements Inkscape::IO::OutputStream.

Definition at line 244 of file inkscapestream.h.


The documentation for this class was generated from the following file: