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

RWByteOutputStream

Module:  Advanced Tools   Package:  Streams


RWByteOutputStream RWHandleBase

Local Index

Members

Non-Members

Header File

#include <rw/stream/RWByteOutputStream.h>

Description

Handle class for all the binary output stream implementation classes. Implements the handle idiom from the handle-body pattern.

Public Constructors

RW_EXPLICIT
RWByteOutputStream(RWByteOutputStreamImp* body);
RWByteOutputStream(const RWByteOutputStream& handle);

Public Operators

RWByteOutputStream 
operator<<(RWByteOutputStream (*pf)(RWByteOutputStream&));
RWByteOutputStream& 
operator<<(RWByte byteValue);
RWByteOutputStream& 
operator<<(RWByteOutputStream& (*pf)(RWByteOutputStream&));
RWByteOutputStream& 
operator=(const RWByteOutputStream& handle);

Public Member Functions

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

Related Global Function

RWByteOutputStream& 
rwFlush(RWByteOutputStream& stream);


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.