rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWFilteredCharOutputStreamImp Class Reference
[Streams]

Abstract base class for all the filtered narrow character output stream implementation classes. More...

#include <rw/stream/RWFilteredCharOutputStreamImp.h>

Inheritance diagram for RWFilteredCharOutputStreamImp:
RWCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock >

List of all members.

Public Member Functions

virtual ~RWFilteredCharOutputStreamImp ()
virtual void close ()
virtual void flush ()
virtual bool isBad () const
virtual bool isFail () const
virtual bool isGood () const
virtual void write (char charValue)
virtual void write (const char *charArray, RWSize numChars)

Protected Member Functions

 RWFilteredCharOutputStreamImp (const RWCharOutputStream &sinkStream)
RWCharOutputStreamgetSinkStream ()
const RWCharOutputStreamgetSinkStream () const

Detailed Description

Abstract base class for all the filtered narrow character 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.


Constructor & Destructor Documentation

virtual RWFilteredCharOutputStreamImp::~RWFilteredCharOutputStreamImp (  )  [virtual]

Destructor. Throws no exceptions.

RWFilteredCharOutputStreamImp::RWFilteredCharOutputStreamImp ( const RWCharOutputStream sinkStream  )  [inline, protected]

Used by derived classes to initialize the next processing stream. Throws no exceptions.

Parameters:
sinkStream A handle to the next processing stream.

Member Function Documentation

virtual void RWFilteredCharOutputStreamImp::close (  )  [virtual]

Forwards the close() request to the next processing stream.

Reimplemented from RWOutputStreamImp.

virtual void RWFilteredCharOutputStreamImp::flush (  )  [virtual]

Forwards the flush() request to the next processing stream.

Implements RWOutputStreamImp.

const RWCharOutputStream& RWFilteredCharOutputStreamImp::getSinkStream (  )  const [inline, protected]

Returns a handle to the next processing stream. Throws no exceptions.

RWCharOutputStream& RWFilteredCharOutputStreamImp::getSinkStream (  )  [inline, protected]

Returns a handle to the next processing stream. Throws no exceptions.

virtual bool RWFilteredCharOutputStreamImp::isBad (  )  const [virtual]

Forwards the isBad() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

virtual bool RWFilteredCharOutputStreamImp::isFail (  )  const [virtual]

Forwards the isFail() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

virtual bool RWFilteredCharOutputStreamImp::isGood (  )  const [virtual]

Forwards the isGood() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

virtual void RWFilteredCharOutputStreamImp::write ( const char *  charArray,
RWSize  numChars 
) [virtual]

Forwards the writing of an array of narrow characters to the next processing stream.

Parameters:
charArray A pointer to the first element of the array.
numChars The number of narrow character(s) to be written to the stream.

Implements RWCharOutputStreamImp.

virtual void RWFilteredCharOutputStreamImp::write ( char  charValue  )  [virtual]

Forwards the writing of a single narrow character to the next processing stream.

Parameters:
charValue The narrow character to be written.

Implements RWCharOutputStreamImp.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.