SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Abstract base class from which all output stream implementation classes that convert from data to binary must derive. More...
#include <rw/stream/RWDataToByteOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWDataToByteOutputStreamImp () |
virtual void | close () |
virtual void | flush () |
virtual bool | isBad () const |
virtual bool | isFail () const |
virtual bool | isGood () const |
Protected Member Functions | |
RWDataToByteOutputStreamImp (const RWByteOutputStream &sinkStream) | |
RWByteOutputStream & | getSinkStream () |
const RWByteOutputStream & | getSinkStream () const |
Abstract base class for all the data to binary conversion output stream implementation classes. A conversion output stream is a stream that converts elements of one format into another, and then forwards the result to a stream of the destination format for further processing. Implements the body idiom from the handle-body pattern.
virtual RWDataToByteOutputStreamImp::~RWDataToByteOutputStreamImp | ( | ) | [virtual] |
Destructor.
RWDataToByteOutputStreamImp::RWDataToByteOutputStreamImp | ( | 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 RWDataToByteOutputStreamImp::close | ( | ) | [virtual] |
Forwards the close() request to the next processing stream.
Reimplemented from RWOutputStreamImp.
virtual void RWDataToByteOutputStreamImp::flush | ( | ) | [virtual] |
Forwards the flush() request to the next processing stream.
Implements RWOutputStreamImp.
const RWByteOutputStream& RWDataToByteOutputStreamImp::getSinkStream | ( | ) | const [inline, protected] |
Returns a handle to the next processing stream. They throw no exceptions.
RWByteOutputStream& RWDataToByteOutputStreamImp::getSinkStream | ( | ) | [inline, protected] |
Returns a handle to the next processing stream. They throw no exceptions.
virtual bool RWDataToByteOutputStreamImp::isBad | ( | ) | const [virtual] |
Forwards the isBad() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
virtual bool RWDataToByteOutputStreamImp::isFail | ( | ) | const [virtual] |
Forwards the isFail() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
virtual bool RWDataToByteOutputStreamImp::isGood | ( | ) | const [virtual] |
Forwards the isGood() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
© 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.