SourcePro® 2023.1 |
SourcePro® API Reference Guide |
Handle class for narrow character output streams that allow retrieval of their inserted data as a narrow character array. More...
#include <rw/stream/RWCharArrayOutputStream.h>
Additional Inherited Members | |
Protected Member Functions inherited from RWHandleBase | |
RWHandleBase (void) | |
RWHandleBase (RWStaticCtor) | |
RWHandleBase (RWBodyBase *body) | |
RWHandleBase (const RWHandleBase &second) | |
~RWHandleBase (void) | |
RWBodyBase & | body (void) const |
RWHandleBase & | operator= (const RWHandleBase &second) |
Related Functions inherited from RWCharOutputStream | |
RWCharOutputStream & | rwEndl (RWCharOutputStream &stream) |
RWCharOutputStream & | rwEnds (RWCharOutputStream &stream) |
RWCharOutputStream & | rwFlush (RWCharOutputStream &stream) |
RWCharOutputStream | rwGuard (RWCharOutputStream &stream) |
Handle class for narrow character output streams that support an extended interface that allows retrieval of their inserted data as a narrow character array. Implements the handle idiom from the handle-body pattern.
|
inlineexplicit |
Constructor.
body | A pointer to an implementation class supporting the abstract interface RWCharArrayOutputStreamImp. |
|
inline |
Copy constructor.
handle | A narrow character array stream handle used to initialize the newly created handle. |
|
inline |
Resets the underlying buffer.
|
inline |
Returns a pointer to an array of narrow characters containing the 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 narrow character array that would be returned by a call to function getCharacterArray().
|
inline |
Returns a narrow character string object containing the characters inserted into the stream since its creation.
|
inline |
Assignment operator. Throws no exceptions.
handle | A narrow character array stream handle used to initialize this handle. |
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |