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

RWCharFromStreambufInputStreamImp

Module:  Advanced Tools   Package:  Streams


RWCharFromStreambufInputStreamImp RWCharInputStreamImp RWInputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWCharFromStreambufInputStreamImp.h>

Description

Concrete class connecting a narrow character stream, to an iostreams narrow character buffer. The iostreams buffer is used as source for the data read from the binary stream. The iostreams buffer must be opened in binary mode. Implements the body idiom from the handle-body pattern.

Protected Constructor

RWCharFromStreambufInputStreamImp(streambuf& sourceBuff);

Public Destructor

virtual 
~RWCharFromStreambufInputStreamImp();

Static Public Member Function

static RWCharInputStream 
make(streambuf& source);

Public Member Function

virtual RWSize 
available() const;
virtual void 
close();
virtual bool 
isBad() const;
virtual bool 
isFail() const;
virtual bool 
isEof() const;
virtual bool 
isGood() const;
virtual RWSize 
read(char* charArray, RWSize numChars);
virtual char 
read();
virtual void 
readUntil(RWCString& string, char delim);
virtual RWSize 
skip(RWSize numUnits);

Protected Member Functions

streambuf& getSourceBuff();

const 
streambuf& 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.