
Module: Advanced Tools Package: Streams
RWCharOutputStreamImpRWOutputStreamImp
RWStreamImp
RWBodyBase
#include <rw/stream/RWCharOutputStreamImp.h>
Abstract base class for all the narrow character output stream implementation classes. Implements the body idiom from the handle-body pattern.
RWCharOutputStreamImp();
Constructor.
virtual ~RWCharOutputStreamImp();
Destructor.
virtual RWCharOutputStream acquire();
Acquires the synchronization mechanism provided by a stream concrete implementation. The acquire() member function returns a handle to the narrow 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(char charValue) =0;
Writes a single narrow character to the stream.
Parameter List
| charValue | The narrow character to be written to the stream. |
virtual void write(const char* charArray, RWSize numChars) =0;
Writes an array of narrow characters to the stream.
Parameter List
| charArray | A pointer to the first element of the array. |
| numChars | The number of narrow characters to be written to the stream. |
©2004 Copyright Quovadx, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Quovadx, 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.