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

RWWCharFromWStreambufInputStreamImp

Module:  Advanced Tools   Package:  Streams


RWWCharFromWStreambufInputStreamImp RWWCharInputStreamImp RWInputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWWCharFromWStreambufInputStreamImp.h>

Description

Concrete class connecting a wide character stream to an iostreams wide character buffer. The iostreams buffer is used as source for the wide characters read from 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

RWWCharFromWStreambufInputStreamImp(wstreambuf& sourceBuff);

Public Destructor

virtual 
~RWWCharFromWStreambufInputStreamImp();

Static Public Member Function

static RWWCharInputStream 
make(wstreambuf& source);

Public Member Functions

virtual RWSize 
available() const;
virtual void 
close();
virtual bool 
isBad() const;
virtual bool 
isEof() const;
virtual bool 
isFail() const;
virtual bool 
isGood() const;
virtual wchar_t 
read();
virtual RWSize 
read(wchar_t* wcharArray, RWSize numWChars);
virtual RWSize 
readUntil(wchar_t* wcharArray, RWSize maxSize, wchar_t delim);
virtual RWSize 
skip(RWSize numUnits);

Protected Member Functions

wstreambuf&
getSourceBuff();

const wstreambuf& 
getSourceBuff() 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.