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 narrow characters must derive. More...
#include <rw/stream/RWDataToCharOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWDataToCharOutputStreamImp () |
virtual void | close () |
virtual void | flush () |
virtual bool | isBad () const |
virtual bool | isFail () const |
virtual bool | isGood () const |
Protected Member Functions | |
RWDataToCharOutputStreamImp (const RWCharOutputStream &sinkStream) | |
RWCharOutputStream & | getSinkStream () |
const RWCharOutputStream & | getSinkStream () const |
Abstract base class for all the data to narrow character 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 RWDataToCharOutputStreamImp::~RWDataToCharOutputStreamImp | ( | ) | [virtual] |
Destructor.
RWDataToCharOutputStreamImp::RWDataToCharOutputStreamImp | ( | const RWCharOutputStream & | sinkStream | ) | [inline, protected] |
Used by derived classes to initialize the next processing stream.
sinkStream | A handle to the next processing stream. |
virtual void RWDataToCharOutputStreamImp::close | ( | ) | [virtual] |
Forwards the close() request to the next processing stream.
Reimplemented from RWOutputStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
virtual void RWDataToCharOutputStreamImp::flush | ( | ) | [virtual] |
Forwards the flush() request to the next processing stream.
Implements RWOutputStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
const RWCharOutputStream& RWDataToCharOutputStreamImp::getSinkStream | ( | ) | const [inline, protected] |
Returns a handle to the next processing stream. They throw no exceptions.
RWCharOutputStream& RWDataToCharOutputStreamImp::getSinkStream | ( | ) | [inline, protected] |
Returns a handle to the next processing stream. They throw no exceptions.
virtual bool RWDataToCharOutputStreamImp::isBad | ( | ) | const [virtual] |
Forwards the isBad() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
virtual bool RWDataToCharOutputStreamImp::isFail | ( | ) | const [virtual] |
Forwards the isFail() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
virtual bool RWDataToCharOutputStreamImp::isGood | ( | ) | const [virtual] |
Forwards the isGood() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
© 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.