Module: Advanced Tools Package: Streams
RWDataToCharOutputStreamImp RWDataOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase
close() flush() |
getSinkStream() isBad() |
isFail() isGood() |
RWDataToCharOutputStreamImp() ~RWDataToCharOutputStreamImp() |
#include <rw/stream/RWDataToCharOutputStreamImp.h>
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.
RWDataToCharOutputStreamImp(RWCharOutputStream& sinkStream);
Used by derived classes to initialize the next processing stream.
Parameter List
sinkStream |
A handle to the next processing stream. |
virtual ~RWDataToCharOutputStreamImp();
Destructor.
virtual void close();
Forwards the close() request to the next processing stream.
virtual void flush();
Forwards the flush() request to the next processing stream.
virtual bool isBad() const;
Forwards the isBad() request to the next processing stream. Throws no exceptions.
virtual bool isFail() const;
Forwards the isFail() request to the next processing stream. Throws no exceptions.
virtual bool isGood() const;
Forwards the isGood() request to the next processing stream. Throws no exceptions.
RWCharOutputStream& getSinkStream(); const RWCharOutputStream& getSinkStream() const;
These functions return a handle to the next processing stream. They throw no exceptions.
© 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.