Module: Advanced Tools Package: Streams
RWWCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase
#include <rw/stream/RWWCharOutputStreamImp.h>
Abstract base class for all the wide character output stream implementation classes. Implements the body idiom from the handle-body pattern.
RWWCharOutputStreamImp();
Constructor.
virtual ~RWWCharOutputStreamImp();
Destructor.
virtual RWWCharOutputStream acquire();
Acquires the synchronization mechanism provided by a stream concrete implementation. The acquire() member function returns a handle to the wide character 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(const wchar_t* wcharArray, RWSize numWchars) =0;
Writes an array of wide characters to the stream.
Parameter List
wcharArray |
A pointer to the first element of the array. |
numWchars |
The number of wide characters to be written to the stream. |
virtual void write(wchar_t wcharValue) =0;
Writes a single wide character to the stream.
Parameter List
wcharValue |
The wide character 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.