18#ifndef _DECAF_IO_FILTEROUTPUTSTREAM_H_
19#define _DECAF_IO_FILTEROUTPUTSTREAM_H_
This class is the superclass of all classes that filter output streams.
Definition: FilterOutputStream.h:49
bool own
Definition: FilterOutputStream.h:56
virtual void doWriteArrayBounded(const unsigned char *buffer, int size, int offset, int length)
virtual bool isClosed() const
OutputStream * outputStream
Definition: FilterOutputStream.h:53
virtual void doWriteByte(unsigned char value)
virtual void close()
Closes this object and deallocates the appropriate resources.The object is generally no longer usable...
virtual ~FilterOutputStream()
virtual std::string toString() const
Output a String representation of this object.The default version of this method just prints the Clas...
virtual void doWriteArray(const unsigned char *buffer, int size)
volatile bool closed
Definition: FilterOutputStream.h:59
FilterOutputStream(OutputStream *outputStream, bool own=false)
Constructor, creates a wrapped output stream.
virtual void flush()
Flushes this stream by writing any buffered output to the underlying stream.if an I/O error occurs....
Base interface for any class that wants to represent an output stream of bytes.
Definition: OutputStream.h:39
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25