Abstract base class for all the output stream implementation classes. More...
#include <rw/stream/RWOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWOutputStreamImp () |
virtual void | close () |
virtual void | flush ()=0 |
Public Member Functions inherited from RWStreamImp | |
virtual | ~RWStreamImp () |
virtual bool | isBad () const =0 |
virtual bool | isFail () const =0 |
virtual bool | isGood () const =0 |
Additional Inherited Members | |
Protected Types inherited from RWTCountingBody< RWMutexLock > | |
typedef RWTLockGuard< RWTMonitor< RWMutexLock > > | LockGuard |
typedef RWTTryLockGuard< RWTMonitor< RWMutexLock > > | TryLockGuard |
typedef RWTUnlockGuard< RWTMonitor< RWMutexLock > > | UnlockGuard |
Protected Types inherited from RWTMonitor< RWMutexLock > | |
typedef RWTLockGuard< RWTMonitor< RWMutexLock > > | LockGuard |
typedef RWTTryLockGuard< RWTMonitor< RWMutexLock > > | TryLockGuard |
typedef RWTUnlockGuard< RWTMonitor< RWMutexLock > > | UnlockGuard |
Abstract base class for all the output stream implementation classes. Implements the body idiom from the handle-body pattern.
|
inlinevirtual |
Destructor.
|
inlineprotected |
Constructor.
|
inlinevirtual |
Calls the member function flush(), and then closes the stream.
Implements RWStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWChainedByteArrayOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWUCharToByteOutputStreamImp, RWCharToStreambufOutputStreamImp, RWWCharToWStreambufOutputStreamImp, RWByteToStreambufOutputStreamImp, RWSynchronizedDataOutputStreamImp, RWDataToByteOutputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharOutputStreamImp, RWDataToCharOutputStreamImp, RWFilteredDataOutputStreamImp, and RWFilteredCharOutputStreamImp.
|
pure virtual |
Flushes the stream.
Implemented in RWDataToVirtualOutputStreamImp, RWOstreamDataToCharOutputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWChainedByteArrayOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWCharToStreambufOutputStreamImp, RWUCharToByteOutputStreamImp, RWByteToStreambufOutputStreamImp, RWWCharToWStreambufOutputStreamImp, RWSynchronizedDataOutputStreamImp, RWDataToByteOutputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharOutputStreamImp, RWDataToCharOutputStreamImp, RWFilteredDataOutputStreamImp, and RWFilteredCharOutputStreamImp.
Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |