SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Abstract base class for all the wide character output stream implementation classes. More...
#include <rw/stream/RWWCharOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWWCharOutputStreamImp () |
virtual void | write (wchar_t wcharValue)=0 |
virtual void | write (const wchar_t *wcharArray, RWSize numWchars)=0 |
virtual RWWCharOutputStream | acquire () |
virtual void | release () |
Protected Member Functions | |
RWWCharOutputStreamImp () |
Abstract base class for all the wide character output stream implementation classes. Implements the body idiom from the handle-body pattern.
virtual RWWCharOutputStreamImp::~RWWCharOutputStreamImp | ( | ) | [inline, virtual] |
Destructor.
RWWCharOutputStreamImp::RWWCharOutputStreamImp | ( | ) | [inline, protected] |
Constructor.
virtual RWWCharOutputStream RWWCharOutputStreamImp::acquire | ( | ) | [virtual] |
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.
Reimplemented from RWTMonitor< RWMutexLock >.
virtual void RWWCharOutputStreamImp::release | ( | void | ) | [inline, virtual] |
Releases the synchronization mechanism provided by a stream concrete implementation.
Reimplemented from RWTMonitor< RWMutexLock >.
virtual void RWWCharOutputStreamImp::write | ( | const wchar_t * | wcharArray, | |
RWSize | numWchars | |||
) | [pure virtual] |
Writes an array of wide characters to the stream.
wcharArray | A pointer to the first element of the array. | |
numWchars | The number of wide characters to be written to the stream. |
Implemented in RWChainedWCharArrayOutputStreamImp, RWFilteredWCharOutputStreamImp, and RWWCharToWStreambufOutputStreamImp.
virtual void RWWCharOutputStreamImp::write | ( | wchar_t | wcharValue | ) | [pure virtual] |
Writes a single wide character to the stream.
wcharValue | The wide character to be written to the stream. |
Implemented in RWChainedWCharArrayOutputStreamImp, RWFilteredWCharOutputStreamImp, and RWWCharToWStreambufOutputStreamImp.
© 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.