SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Abstract base class for all binary output stream implementation classes. More...
#include <rw/stream/RWByteOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWByteOutputStreamImp () |
virtual void | write (RWByte byteValue)=0 |
virtual void | write (const RWByte *byteArray, RWSize numBytes)=0 |
virtual RWByteOutputStream | acquire () |
virtual void | release () |
Protected Member Functions | |
RWByteOutputStreamImp () |
Abstract base class for all the binary output stream implementation classes. Implements the body idiom from the handle-body pattern.
virtual RWByteOutputStreamImp::~RWByteOutputStreamImp | ( | ) | [inline, virtual] |
Destructor.
RWByteOutputStreamImp::RWByteOutputStreamImp | ( | ) | [inline, protected] |
Constructor.
virtual RWByteOutputStream RWByteOutputStreamImp::acquire | ( | ) | [virtual] |
Acquires the synchronization mechanism provided by a stream concrete implementation. The acquire() member function returns a handle to the binary stream that should be used for output operation after acquiring the synchronization mechanism.
Reimplemented from RWTMonitor< RWMutexLock >.
virtual void RWByteOutputStreamImp::release | ( | ) | [inline, virtual] |
Releases the synchronization mechanism provided by a stream concrete implementation.
Reimplemented from RWTMonitor< RWMutexLock >.
virtual void RWByteOutputStreamImp::write | ( | const RWByte * | byteArray, | |
RWSize | numBytes | |||
) | [pure virtual] |
Writes an array of bytes to the stream.
byteArray | A pointer to the first element of the array. | |
numBytes | The number of bytes to be written to the stream. |
Implemented in RWByteToStreambufOutputStreamImp, RWChainedByteArrayOutputStreamImp, and RWFilteredByteOutputStreamImp.
virtual void RWByteOutputStreamImp::write | ( | RWByte | byteValue | ) | [pure virtual] |
Writes a single byte to the stream.
byteValue | The byte to be written to the stream. |
Implemented in RWByteToStreambufOutputStreamImp, RWChainedByteArrayOutputStreamImp, and RWFilteredByteOutputStreamImp.
© 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.