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