Base Framework
|
Filter output stream. More...
#include <base/io/FilterOutputStream.h>
Inherits Object, and OutputStream.
Inherited by BufferedOutputStream, and PrimitiveOutputStream.
Public Member Functions | |
FilterOutputStream (OutputStream &out) | |
OutputStream & | getOutputStream () noexcept |
void | close () |
void | flush () |
unsigned int | write (const uint8 *buffer, unsigned int size, bool nonblocking=false) |
![]() | |
virtual | ~Stream () noexcept(false) |
![]() | |
ReferenceCountedObject () noexcept | |
ReferenceCountedObject (const ReferenceCountedObject ©) noexcept | |
ReferenceCountedObject (ReferenceCountedObject &&move) noexcept | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject ©) noexcept |
ReferenceCountedObject & | operator= (ReferenceCountedObject &&move) noexcept |
MemorySize | getNumberOfReferences_INTERNAL () const noexcept |
virtual bool | useGarbageCollector () const noexcept |
![]() | |
DynamicObject () noexcept | |
bool | isValidObject () const noexcept |
virtual | ~DynamicObject () noexcept(false) |
_COM_AZURE_DEV__BASE__OVERRIDE_ALLOC () | |
Protected Attributes | |
OutputStream & | out |
Filter output stream.
A FilterOutputStream redirects requests to an ordinary OutputStream possibly transforming data and providing additional functionality in the process. A FilterOutputStream is itself an OutputStream.
|
explicit |
Initializes the filter output stream.
out | Output stream to be filtered. |
|
virtual |
Closes the output stream and releases any system resources associated with the stream.
Implements Stream.
|
virtual |
Forces any buffered bytes to be written out.
Implements OutputStream.
Reimplemented in StringOutputStream.
|
inlinenoexcept |
Returns the output stream.
|
virtual |
Writes the specified number of bytes in the buffer to the stream. In blocking mode the method does not return until all bytes have been written. In non-blocking mode the total number of bytes written may be any number below or equal to the requested number of bytes.
buffer | The buffer containing the bytes to be written. |
size | The number of bytes to be written. |
nonblocking | Specifies that the method may not block. Default is false. |
Implements OutputStream.
|
protected |
Output stream to be filtered.