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

RWChainedByteArrayOutputStreamImp

Module:  Advanced Tools   Package:  Streams


RWChainedByteArrayOutputStreamImp RWByteArrayOutputStreamImp RWByteOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWChainedByteArrayOutputStreamImp.h>

Description

Concrete class implementing the byte array output stream interface. Bytes inserted into an instance of class RWChainedByteArrayOutputStreamImp are stored in memory using an instance of class RWChainedMemoryStreambuf. Implements the body idiom from the handle-body pattern.

Protected Constructor

RWChainedByteArrayOutputStreamImp();

Public Destructor

virtual 
~RWChainedByteArrayOutputStreamImp();

Static Public Member Function

static RWByteArrayOutputStream 
make();

Public Member Functions

virtual void 
clear();
virtual void 
close();
virtual void 
flush();
virtual RWByte* 
getByteArray();
virtual RWSize 
getByteArraySize() const;
virtual bool 
isBad() const;
virtual bool 
isFail() const;
virtual bool 
isGood() const;
virtual void 
write(RWByte byteValue);
virtual void 
write(const RWByte* byteArray, RWSize numBytes);

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.