SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Abstract base class for the Unicode output stream implementation classes. More...
#include <rw/stream/RWUCharOutputStreamImp.h>
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 () |
Abstract base class for all the Unicode output stream implementation classes. Implements the body idiom from the handle-body pattern.
virtual RWUCharOutputStreamImp::~RWUCharOutputStreamImp | ( | ) | [inline, virtual] |
Destructor.
RWUCharOutputStreamImp::RWUCharOutputStreamImp | ( | ) | [inline, protected] |
Constructor.
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.
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.
unicodeValue | The UTF-16 character to be written to the stream. |
Implemented in RWChainedUCharArrayOutputStreamImp, RWFilteredUCharOutputStreamImp, RWUCharToByteOutputStreamImp, and RWUCharToUTF8ByteOutputStreamImp.
© 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.