rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWUCharArrayOutputStreamImp Class Reference
[Streams]

Abstract base class for Unicode character output streams that support an extended interface. More...

#include <rw/stream/RWUCharArrayOutputStreamImp.h>

Inheritance diagram for RWUCharArrayOutputStreamImp:
RWUCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock > RWChainedUCharArrayOutputStreamImp

List of all members.

Public Member Functions

virtual ~RWUCharArrayOutputStreamImp ()
virtual RWUChargetUCharacterArray ()=0
virtual RWSize getUCharacterArraySize () const =0
virtual void clear ()=0

Protected Member Functions

 RWUCharArrayOutputStreamImp ()

Detailed Description

Abstract base class for Unicode character output streams that support an extended interface. This interface allows retrieval of the output streams' inserted data as a UTF-16 character array. Implements the body idiom from the handle-body pattern.


Constructor & Destructor Documentation

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

Destructor.

RWUCharArrayOutputStreamImp::RWUCharArrayOutputStreamImp (  )  [inline, protected]

Constructor.


Member Function Documentation

virtual void RWUCharArrayOutputStreamImp::clear (  )  [pure virtual]

Reset the underlying buffer.

Implemented in RWChainedUCharArrayOutputStreamImp.

virtual RWUChar* RWUCharArrayOutputStreamImp::getUCharacterArray (  )  [pure virtual]

Returns a pointer to the array of UTF-16 characters inserted into the stream since its creation. Users are responsible for freeing the memory associated with the array returned by this function using operator delete[].

Implemented in RWChainedUCharArrayOutputStreamImp.

virtual RWSize RWUCharArrayOutputStreamImp::getUCharacterArraySize (  )  const [pure virtual]

Returns the size of the UTF-16 character array that would be returned by a call to function getUCharacterArray().

Implemented in RWChainedUCharArrayOutputStreamImp.

 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.