SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Abstract base class for all the filtered binary output stream implementation classes. More...
#include <rw/stream/RWFilteredByteOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWFilteredByteOutputStreamImp () |
virtual void | close () |
virtual void | flush () |
virtual bool | isBad () const |
virtual bool | isFail () const |
virtual bool | isGood () const |
virtual void | write (RWByte byteValue) |
virtual void | write (const RWByte *byteArray, RWSize numBytes) |
Protected Member Functions | |
RWFilteredByteOutputStreamImp (const RWByteOutputStream &sinkStream) | |
RWByteOutputStream & | getSinkStream () |
const RWByteOutputStream & | getSinkStream () const |
Abstract base class for all the filtered binary output stream implementation classes. A filtered output stream is a stream that process elements and then forwards the result to another stream for further processing. Implements the body idiom from the handle-body pattern.
virtual RWFilteredByteOutputStreamImp::~RWFilteredByteOutputStreamImp | ( | ) | [virtual] |
Destructor. Throws no exceptions.
RWFilteredByteOutputStreamImp::RWFilteredByteOutputStreamImp | ( | const RWByteOutputStream & | sinkStream | ) | [inline, protected] |
Used by derived classes to initialize the next processing stream.
sinkStream | A handle to the next processing stream. |
virtual void RWFilteredByteOutputStreamImp::close | ( | ) | [virtual] |
Forwards the close() request to the next processing stream.
Reimplemented from RWOutputStreamImp.
virtual void RWFilteredByteOutputStreamImp::flush | ( | ) | [virtual] |
Forwards the flush() request to the next processing stream.
Implements RWOutputStreamImp.
const RWByteOutputStream& RWFilteredByteOutputStreamImp::getSinkStream | ( | ) | const [inline, protected] |
Return a handle to the next processing stream. Throws no exceptions.
RWByteOutputStream& RWFilteredByteOutputStreamImp::getSinkStream | ( | ) | [inline, protected] |
Return a handle to the next processing stream. Throws no exceptions.
virtual bool RWFilteredByteOutputStreamImp::isBad | ( | ) | const [virtual] |
Forwards the isBad() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
virtual bool RWFilteredByteOutputStreamImp::isFail | ( | ) | const [virtual] |
Forwards the isFail() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
virtual bool RWFilteredByteOutputStreamImp::isGood | ( | ) | const [virtual] |
Forwards the isGood() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
virtual void RWFilteredByteOutputStreamImp::write | ( | const RWByte * | byteArray, | |
RWSize | numBytes | |||
) | [virtual] |
Forwards the writing of an array of bytes to the next processing stream.
byteArray | A pointer to the first element of the array. | |
numBytes | The number of byte(s) to be written to the stream. |
Implements RWByteOutputStreamImp.
virtual void RWFilteredByteOutputStreamImp::write | ( | RWByte | byteValue | ) | [virtual] |
Forwards the writing of a single byte to the next processing stream.
byteValue | The byte to be written. |
Implements RWByteOutputStreamImp.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.