Module: Advanced Tools Package: Streams
RWUCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase
#include <rw/stream/RWUCharOutputStreamImp.h>
Abstract base class for all the Unicode output stream implementation classes. Implements the body idiom from the handle-body pattern.
RWUCharOutputStreamImp();
Constructor.
virtual ~RWUCharOutputStreamImp();
Destructor.
virtual RWUCharOutputStream acquire();
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.
virtual void release();
Releases the synchronization mechanism provided by a stream concrete implementation.
virtual void write(RWUChar unicodeValue) =0;
Writes a single UTF-16 character to the stream.
Parameter List
unicodeArray |
The UTF-16 character to be written to the stream. |
virtual void write(const RWUChar* unicodeArray, RWSize numUChars) =0;
Writes an array of UTF-16 characters to the stream.
Parameter List
unicodeArray |
A pointer to the first element of the array. |
numUChars |
The number of UTF-16 characters to be written to the stream. |
© 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.