SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Abstract base class for Unicode character output streams that support an extended interface. More...
#include <rw/stream/RWUCharArrayOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWUCharArrayOutputStreamImp () |
virtual RWUChar * | getUCharacterArray ()=0 |
virtual RWSize | getUCharacterArraySize () const =0 |
virtual void | clear ()=0 |
Protected Member Functions | |
RWUCharArrayOutputStreamImp () |
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.
virtual RWUCharArrayOutputStreamImp::~RWUCharArrayOutputStreamImp | ( | ) | [inline, virtual] |
Destructor.
RWUCharArrayOutputStreamImp::RWUCharArrayOutputStreamImp | ( | ) | [inline, protected] |
Constructor.
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.
© 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.