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

RWChainedCharArrayOutputStreamImp

Module:  Advanced Tools   Package:  Streams


RWChainedCharArrayOutputStreamImp RWCharArrayOutputStreamImp RWCharOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWChainedCharArrayOutputStreamImp.h>

Description

Concrete class implementing the narrow character array output stream interface. Characters inserted into an instance of class RWChainedCharArrayOutputStreamImp are stored in memory using an instance of class RWChainedMemoryStreambuf. Implements the body idiom from the handle-body pattern.

Protected Constructor

RWChainedCharArrayOutputStreamImp();

Public Destructor

virtual 
~RWChainedCharArrayOutputStreamImp();

Static Public Member Function

static RWCharArrayOutputStream 
make();

Public Member Functions

virtual void 
clear();
virtual void 
close();
virtual void 
flush();
virtual RWSize 
getCharacterArraySize() const;
virtual char* 
getCharacterArray();
virtual RWCString 
getString();
virtual bool 
isBad() const;
virtual bool 
isFail() const;
virtual bool 
isGood() const;
virtual void 
write(char charValue);
virtual void 
write(const char* charArray, RWSize numChars);

Protected Member Functions

RWChainedMemoryStreambuf& 
getSinkBuff();

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