rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWDataToByteOutputStreamImp Class Reference
[Streams]

Abstract base class from which all output stream implementation classes that convert from data to binary must derive. More...

#include <rw/stream/RWDataToByteOutputStreamImp.h>

Inheritance diagram for RWDataToByteOutputStreamImp:
RWDataOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock > RWNativeDataToByteOutputStreamImp

List of all members.

Public Member Functions

virtual ~RWDataToByteOutputStreamImp ()
virtual void close ()
virtual void flush ()
virtual bool isBad () const
virtual bool isFail () const
virtual bool isGood () const

Protected Member Functions

 RWDataToByteOutputStreamImp (const RWByteOutputStream &sinkStream)
RWByteOutputStreamgetSinkStream ()
const RWByteOutputStreamgetSinkStream () const

Detailed Description

Abstract base class for all the data to binary conversion output stream implementation classes. A conversion output stream is a stream that converts elements of one format into another, and then forwards the result to a stream of the destination format for further processing. Implements the body idiom from the handle-body pattern.


Constructor & Destructor Documentation

virtual RWDataToByteOutputStreamImp::~RWDataToByteOutputStreamImp (  )  [virtual]

Destructor.

RWDataToByteOutputStreamImp::RWDataToByteOutputStreamImp ( const RWByteOutputStream sinkStream  )  [inline, protected]

Used by derived classes to initialize the next processing stream.

Parameters:
sinkStream A handle to the next processing stream.

Member Function Documentation

virtual void RWDataToByteOutputStreamImp::close (  )  [virtual]

Forwards the close() request to the next processing stream.

Reimplemented from RWOutputStreamImp.

virtual void RWDataToByteOutputStreamImp::flush (  )  [virtual]

Forwards the flush() request to the next processing stream.

Implements RWOutputStreamImp.

const RWByteOutputStream& RWDataToByteOutputStreamImp::getSinkStream (  )  const [inline, protected]

Returns a handle to the next processing stream. They throw no exceptions.

RWByteOutputStream& RWDataToByteOutputStreamImp::getSinkStream (  )  [inline, protected]

Returns a handle to the next processing stream. They throw no exceptions.

virtual bool RWDataToByteOutputStreamImp::isBad (  )  const [virtual]

Forwards the isBad() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

virtual bool RWDataToByteOutputStreamImp::isFail (  )  const [virtual]

Forwards the isFail() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

virtual bool RWDataToByteOutputStreamImp::isGood (  )  const [virtual]

Forwards the isGood() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.