SourcePro® 2023.1 |
SourcePro® API Reference Guide |
Abstract base class for all the stream implementation classes. More...
#include <rw/stream/RWStreamImp.h>
Public Member Functions | |
virtual | ~RWStreamImp () |
virtual void | close ()=0 |
virtual bool | isBad () const =0 |
virtual bool | isFail () const =0 |
virtual bool | isGood () const =0 |
Private Member Functions | |
RWStreamImp (const RWStreamImp &) | |
RWStreamImp & | operator= (const RWStreamImp &) |
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 stream implementation classes. Implements the body idiom from the handle-body pattern.
|
inlinevirtual |
Destructor.
|
inlineprotected |
Constructor.
|
private |
Copy construction is not allowed.
|
pure virtual |
Closes the stream.
Implemented in RWDataFromVirtualInputStreamImp, RWIstreamDataFromCharInputStreamImp, RWOstreamDataToCharOutputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWChainedByteArrayOutputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWUCharFromByteInputStreamImp, RWUCharToByteOutputStreamImp, RWCharToStreambufOutputStreamImp, RWWCharFromWStreambufInputStreamImp, RWWCharToWStreambufOutputStreamImp, RWByteToStreambufOutputStreamImp, RWCharFromStreambufInputStreamImp, RWSynchronizedDataInputStreamImp, RWByteFromStreambufInputStreamImp, RWSynchronizedDataOutputStreamImp, RWDataFromCharInputStreamImp, RWDataToByteOutputStreamImp, RWDataFromByteInputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredWCharOutputStreamImp, RWFilteredByteInputStreamImp, RWFilteredCharInputStreamImp, RWDataToCharOutputStreamImp, RWOutputStreamImp, RWFilteredDataOutputStreamImp, RWFilteredCharOutputStreamImp, and RWFilteredDataInputStreamImp.
|
pure virtual |
Returns true
to indicate a loss of integrity resulting from an input or output operation, such as an irrecoverable read error from a file. Throws no exceptions.
Implemented in RWTInputStreamBufferImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWDataToVirtualOutputStreamImp, RWDataFromVirtualInputStreamImp, RWOstreamDataToCharOutputStreamImp, RWIstreamDataFromCharInputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWChainedByteArrayOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWCharToStreambufOutputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToByteOutputStreamImp, RWUCharFromByteInputStreamImp, RWWCharFromWStreambufInputStreamImp, RWByteToStreambufOutputStreamImp, RWCharFromStreambufInputStreamImp, RWSynchronizedDataInputStreamImp, RWWCharToWStreambufOutputStreamImp, RWByteFromStreambufInputStreamImp, RWSynchronizedDataOutputStreamImp, RWDataToByteOutputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharOutputStreamImp, RWDataToCharOutputStreamImp, RWDataFromCharInputStreamImp, RWDataFromByteInputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredDataOutputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredByteInputStreamImp, RWFilteredCharInputStreamImp, RWFilteredCharOutputStreamImp, and RWFilteredDataInputStreamImp.
|
pure virtual |
Returns true
to indicate that an input operation failed to read the expected data, or that an output operation failed to generate the desired data. Throws no exceptions.
Implemented in RWTInputStreamBufferImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWOstreamDataToCharOutputStreamImp, RWDataToVirtualOutputStreamImp, RWIstreamDataFromCharInputStreamImp, RWChainedCharArrayOutputStreamImp, RWDataFromVirtualInputStreamImp, RWChainedWCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWChainedByteArrayOutputStreamImp, RWCharToStreambufOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToByteOutputStreamImp, RWUCharFromByteInputStreamImp, RWWCharFromWStreambufInputStreamImp, RWByteToStreambufOutputStreamImp, RWCharFromStreambufInputStreamImp, RWSynchronizedDataInputStreamImp, RWWCharToWStreambufOutputStreamImp, RWByteFromStreambufInputStreamImp, RWSynchronizedDataOutputStreamImp, RWDataToByteOutputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharOutputStreamImp, RWDataToCharOutputStreamImp, RWDataFromCharInputStreamImp, RWDataFromByteInputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredDataOutputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredByteInputStreamImp, RWFilteredCharInputStreamImp, RWFilteredCharOutputStreamImp, and RWFilteredDataInputStreamImp.
|
pure virtual |
Returns true
to indicate a stream in a valid state. Throws no exceptions.
Implemented in RWTInputStreamBufferImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWDataToVirtualOutputStreamImp, RWOstreamDataToCharOutputStreamImp, RWIstreamDataFromCharInputStreamImp, RWDataFromVirtualInputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWChainedByteArrayOutputStreamImp, RWCharToStreambufOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToByteOutputStreamImp, RWUCharFromByteInputStreamImp, RWWCharFromWStreambufInputStreamImp, RWByteToStreambufOutputStreamImp, RWCharFromStreambufInputStreamImp, RWSynchronizedDataInputStreamImp, RWWCharToWStreambufOutputStreamImp, RWByteFromStreambufInputStreamImp, RWSynchronizedDataOutputStreamImp, RWDataFromCharInputStreamImp, RWDataFromByteInputStreamImp, RWDataToByteOutputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredByteInputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredCharInputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharOutputStreamImp, RWDataToCharOutputStreamImp, RWFilteredDataInputStreamImp, RWFilteredDataOutputStreamImp, and RWFilteredCharOutputStreamImp.
|
private |
Assignment is not allowed.
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |