Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Advanced Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWWCharToWStreambufOutputStreamImp

Module:  Advanced Tools   Package:  Streams


RWWCharToWStreambufOutputStreamImp RWWCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWWCharToWStreambufOutputStreamImp.h>

Description

Concrete class connecting a wide character stream, to an iostreams wide character buffer. The iostreams buffer is used as sink for the wide characters written to the wide character stream. Implements the body idiom from the handle-body pattern.


NOTE -- This class is available only when you build the Streams package using the Standard C++ iostreams library.

Protected Constructor

RWWCharToWStreambufOutputStreamImp(wstreambuf& sinkBuff);

Public Destructor

virtual 
~RWWCharToWStreambufOutputStreamImp();

Static Public Member Function

static RWWCharOutputStream 
make(wstreambuf& sink);

Public Member Functions

virtual void 
close();
virtual void 
flush();
virtual bool 
isBad() const;
virtual bool 
isFail() const;
virtual bool 
isGood() const;
virtual void 
write(const wchar_t* wcharArray, RWSize numWChars);
virtual void 
write(wchar_t wcharValue);

Protected Member Functions

wstreambuf& getSinkBuff();

const 
wstreambuf& getSinkBuff() const;


Previous fileTop of DocumentContentsIndex pageNext file

© 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.