Module: Advanced Tools Package: Streams
RWUCharArrayOutputStreamImp RWUCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase
clear() getUCharacterArray() |
getUCharacterArraySize() RWUCharArrayOutputStreamImp() |
~RWUCharArrayOutputStreamImp() |
#include <rw/stream/RWUCharArrayOutputStreamImp.h>
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.
RWUCharArrayOutputStreamImp();
Constructor.
virtual ~RWUCharArrayOutputStreamImp();
Destructor.
virtual void clear() =0;
Reset the underlying buffer.
virtual RWUChar* getUCharacterArray() =0;
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[].
virtual RWSize getUCharacterArraySize() const =0;
Returns the size of the UTF-16 character array that would be returned by a call to function getUCharacterArray().
© 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.