rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWWCharArrayOutputStreamImp Class Reference
[Streams]

Abastract base class for wide character output streams that support an extended interface, allowing retrieval of inserted data as a wide character array. More...

#include <rw/stream/RWWCharArrayOutputStreamImp.h>

Inheritance diagram for RWWCharArrayOutputStreamImp:
RWWCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock > RWChainedWCharArrayOutputStreamImp

List of all members.

Public Member Functions

virtual ~RWWCharArrayOutputStreamImp ()
virtual wchar_t * getWCharacterArray ()=0
virtual RWSize getWCharacterArraySize () const =0
virtual void clear ()=0

Protected Member Functions

 RWWCharArrayOutputStreamImp ()

Detailed Description

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


Constructor & Destructor Documentation

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

Destructor.

RWWCharArrayOutputStreamImp::RWWCharArrayOutputStreamImp (  )  [inline, protected]

Constructor.


Member Function Documentation

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

Reset the underlying buffer.

Implemented in RWChainedWCharArrayOutputStreamImp.

virtual wchar_t* RWWCharArrayOutputStreamImp::getWCharacterArray (  )  [pure virtual]

Returns a pointer to an array of wide characters containing the wide 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 RWChainedWCharArrayOutputStreamImp.

virtual RWSize RWWCharArrayOutputStreamImp::getWCharacterArraySize (  )  const [pure virtual]

Returns the size of the wide character array that would be returned by a call to function getWCharacterArray().

Implemented in RWChainedWCharArrayOutputStreamImp.

 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.