rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWFilteredUCharOutputStreamImp Class Reference
[Streams]

Abstract base class for all the filtered UTF-16 output stream implementation classes. More...

#include <rw/stream/RWFilteredUCharOutputStreamImp.h>

Inheritance diagram for RWFilteredUCharOutputStreamImp:
RWUCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock >

List of all members.

Public Member Functions

virtual ~RWFilteredUCharOutputStreamImp ()
virtual void close ()
virtual void flush ()
virtual bool isBad () const
virtual bool isFail () const
virtual bool isGood () const
virtual void write (RWUChar unicodeValue)
virtual void write (const RWUChar *unicodeArray, RWSize numUChars)

Protected Member Functions

 RWFilteredUCharOutputStreamImp (const RWUCharOutputStream &sinkStream)
RWUCharOutputStreamgetSinkStream ()
const RWUCharOutputStreamgetSinkStream () const

Detailed Description

Abstract base class for all the filtered UTF-16 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 RWFilteredUCharOutputStreamImp::~RWFilteredUCharOutputStreamImp (  )  [virtual]

Destructor.

RWFilteredUCharOutputStreamImp::RWFilteredUCharOutputStreamImp ( const RWUCharOutputStream sinkStream  )  [inline, protected]

Used by derived classes to initialize the next processing stream.

Parameters:
sinkStream A handle to the next processing stream.

Member Function Documentation

virtual void RWFilteredUCharOutputStreamImp::close (  )  [virtual]

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

Reimplemented from RWOutputStreamImp.

virtual void RWFilteredUCharOutputStreamImp::flush (  )  [virtual]

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

Implements RWOutputStreamImp.

const RWUCharOutputStream& RWFilteredUCharOutputStreamImp::getSinkStream (  )  const [inline, protected]

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

RWUCharOutputStream& RWFilteredUCharOutputStreamImp::getSinkStream (  )  [inline, protected]

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

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

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

Implements RWStreamImp.

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

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

Implements RWStreamImp.

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

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

Implements RWStreamImp.

virtual void RWFilteredUCharOutputStreamImp::write ( const RWUChar unicodeArray,
RWSize  numUChars 
) [virtual]

Forwards the writing of an array of UTF-16 characters to the next processing stream.

Parameters:
unicodeArray A pointer to the first element of the array.
numUChars The number of unicode character(s) to be written to the stream.

Implements RWUCharOutputStreamImp.

virtual void RWFilteredUCharOutputStreamImp::write ( RWUChar  unicodeValue  )  [virtual]

Forwards the writing of a single UTF-16 character to the next processing stream.

Parameters:
unicodeValue The unicode character to be written.

Implements RWUCharOutputStreamImp.

 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.