SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Handle class for Unicode character output streams that support an extended interface. More...
#include <rw/stream/RWUCharArrayOutputStream.h>
Additional Inherited Members | |
Protected Member Functions inherited from RWHandleBase | |
RWHandleBase (const RWHandleBase &second) | |
RWHandleBase (RWBodyBase *body) | |
RWHandleBase (RWStaticCtor) | |
RWHandleBase (void) | |
~RWHandleBase (void) | |
RWBodyBase & | body (void) const |
RWHandleBase & | operator= (const RWHandleBase &second) |
Related Symbols inherited from RWUCharOutputStream | |
RWUCharOutputStream & | rwEndl (RWUCharOutputStream &stream) |
RWUCharOutputStream & | rwEnds (RWUCharOutputStream &stream) |
RWUCharOutputStream & | rwFlush (RWUCharOutputStream &stream) |
RWUCharOutputStream | rwGuard (RWUCharOutputStream &stream) |
Handle class for Unicode character output streams that support an extended interface. This interface allows retrieval of the output stream's inserted data as a UTF-16 character array. Implements the handle idiom from the handle-body pattern.
UChar
or unicodeArray
refer to the Unicode form UTF-16.
|
inlineexplicit |
Constructor.
body | A pointer to an implementation class supporting the abstract interface RWUCharArrayOutputStreamImp. |
|
inline |
Copy constructor.
handle | A UTF-16 character array stream handle used to initialize the newly created handle. |
|
inline |
Resets the underlying buffer.
|
inline |
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[]
.
|
inline |
Returns the size of the UTF-16 character array that would be returned by a call to function getUCharacterArray().
|
inline |
Assignment operator. Throws no exceptions.
handle | A UTF-16 character array stream handle used to initialize this handle. |
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |