rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWUCharOutputStreamImp Class Reference
[Streams]

Abstract base class for the Unicode output stream implementation classes. More...

#include <rw/stream/RWUCharOutputStreamImp.h>

Inheritance diagram for RWUCharOutputStreamImp:
RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock > RWFilteredUCharOutputStreamImp RWUCharArrayOutputStreamImp RWUCharToByteOutputStreamImp RWUCharToUTF8ByteOutputStreamImp RWChainedUCharArrayOutputStreamImp

List of all members.

Public Member Functions

virtual ~RWUCharOutputStreamImp ()
virtual void write (RWUChar unicodeValue)=0
virtual void write (const RWUChar *unicodeArray, RWSize numUChars)=0
virtual RWUCharOutputStream acquire ()
virtual void release ()

Protected Member Functions

 RWUCharOutputStreamImp ()

Detailed Description

Abstract base class for all the Unicode output stream implementation classes. Implements the body idiom from the handle-body pattern.


Constructor & Destructor Documentation

virtual RWUCharOutputStreamImp::~RWUCharOutputStreamImp (  )  [inline, virtual]

Destructor.

RWUCharOutputStreamImp::RWUCharOutputStreamImp (  )  [inline, protected]

Constructor.


Member Function Documentation

virtual RWUCharOutputStream RWUCharOutputStreamImp::acquire (  )  [virtual]

Acquires the synchronization mechanism provided by a stream concrete implementation. The acquire() member function returns a handle to the Unicode stream that should be used for output operation after acquiring the synchronization mechanism.

Reimplemented from RWTMonitor< RWMutexLock >.

virtual void RWUCharOutputStreamImp::release ( void   )  [inline, virtual]

Releases the synchronization mechanism provided by a stream concrete implementation.

Reimplemented from RWTMonitor< RWMutexLock >.

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

Writes an array of UTF-16 characters to the stream.

Parameters:
unicodeArray A pointer to the first element of the array.
numUChars The number of UTF-16 characters to be written to the stream.

Implemented in RWChainedUCharArrayOutputStreamImp, RWFilteredUCharOutputStreamImp, RWUCharToByteOutputStreamImp, and RWUCharToUTF8ByteOutputStreamImp.

virtual void RWUCharOutputStreamImp::write ( RWUChar  unicodeValue  )  [pure virtual]

Writes a single UTF-16 character to the stream.

Parameters:
unicodeValue The UTF-16 character to be written to the stream.

Implemented in RWChainedUCharArrayOutputStreamImp, RWFilteredUCharOutputStreamImp, RWUCharToByteOutputStreamImp, and RWUCharToUTF8ByteOutputStreamImp.

 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.