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