rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWCharOutputStreamImp Class Reference
[Streams]

Abstract base class for all narrow character output stream implementation classes. More...

#include <rw/stream/RWCharOutputStreamImp.h>

Inheritance diagram for RWCharOutputStreamImp:
RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock > RWCharArrayOutputStreamImp RWCharToStreambufOutputStreamImp RWFilteredCharOutputStreamImp RWChainedCharArrayOutputStreamImp

List of all members.

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 ()

Detailed Description

Abstract base class for all the narrow character output stream implementation classes. Implements the body idiom from the handle-body pattern.


Constructor & Destructor Documentation

virtual RWCharOutputStreamImp::~RWCharOutputStreamImp (  )  [inline, virtual]

Destructor.

RWCharOutputStreamImp::RWCharOutputStreamImp (  )  [inline, protected]

Constructor.


Member Function Documentation

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.

Parameters:
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.

Parameters:
charValue The narrow character to be written to the stream.

Implemented in RWChainedCharArrayOutputStreamImp, RWCharToStreambufOutputStreamImp, and RWFilteredCharOutputStreamImp.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.