SourcePro® 2024.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 RWByteFromStreambufInputStreamImp, RWByteToStreambufOutputStreamImp, RWChainedByteArrayOutputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWCharFromStreambufInputStreamImp, RWCharToStreambufOutputStreamImp, RWDataFromByteInputStreamImp, RWDataFromCharInputStreamImp, RWDataFromVirtualInputStreamImp, RWDataToByteOutputStreamImp, RWDataToCharOutputStreamImp, RWFilteredByteInputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredCharInputStreamImp, RWFilteredCharOutputStreamImp, RWFilteredDataInputStreamImp, RWFilteredDataOutputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredWCharOutputStreamImp, RWIstreamDataFromCharInputStreamImp, RWOstreamDataToCharOutputStreamImp, RWOutputStreamImp, RWSynchronizedDataInputStreamImp, RWSynchronizedDataOutputStreamImp, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWUCharFromByteInputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToByteOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWWCharFromWStreambufInputStreamImp, and RWWCharToWStreambufOutputStreamImp.
|
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 RWByteFromStreambufInputStreamImp, RWByteToStreambufOutputStreamImp, RWChainedByteArrayOutputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWCharFromStreambufInputStreamImp, RWCharToStreambufOutputStreamImp, RWDataFromByteInputStreamImp, RWDataFromCharInputStreamImp, RWDataFromVirtualInputStreamImp, RWDataToByteOutputStreamImp, RWDataToCharOutputStreamImp, RWDataToVirtualOutputStreamImp, RWFilteredByteInputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredCharInputStreamImp, RWFilteredCharOutputStreamImp, RWFilteredDataInputStreamImp, RWFilteredDataOutputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredWCharOutputStreamImp, RWIstreamDataFromCharInputStreamImp, RWOstreamDataToCharOutputStreamImp, RWSynchronizedDataInputStreamImp, RWSynchronizedDataOutputStreamImp, RWTInputStreamBufferImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWUCharFromByteInputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToByteOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWWCharFromWStreambufInputStreamImp, and RWWCharToWStreambufOutputStreamImp.
|
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 RWByteFromStreambufInputStreamImp, RWByteToStreambufOutputStreamImp, RWChainedByteArrayOutputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWCharFromStreambufInputStreamImp, RWCharToStreambufOutputStreamImp, RWDataFromByteInputStreamImp, RWDataFromCharInputStreamImp, RWDataFromVirtualInputStreamImp, RWDataToByteOutputStreamImp, RWDataToCharOutputStreamImp, RWDataToVirtualOutputStreamImp, RWFilteredByteInputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredCharInputStreamImp, RWFilteredCharOutputStreamImp, RWFilteredDataInputStreamImp, RWFilteredDataOutputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredWCharOutputStreamImp, RWIstreamDataFromCharInputStreamImp, RWOstreamDataToCharOutputStreamImp, RWSynchronizedDataInputStreamImp, RWSynchronizedDataOutputStreamImp, RWTInputStreamBufferImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWUCharFromByteInputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToByteOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWWCharFromWStreambufInputStreamImp, and RWWCharToWStreambufOutputStreamImp.
|
pure virtual |
Returns true
to indicate a stream in a valid state. Throws no exceptions.
Implemented in RWByteFromStreambufInputStreamImp, RWByteToStreambufOutputStreamImp, RWChainedByteArrayOutputStreamImp, RWChainedCharArrayOutputStreamImp, RWChainedUCharArrayOutputStreamImp, RWChainedWCharArrayOutputStreamImp, RWCharFromStreambufInputStreamImp, RWCharToStreambufOutputStreamImp, RWDataFromByteInputStreamImp, RWDataFromCharInputStreamImp, RWDataFromVirtualInputStreamImp, RWDataToByteOutputStreamImp, RWDataToCharOutputStreamImp, RWDataToVirtualOutputStreamImp, RWFilteredByteInputStreamImp, RWFilteredByteOutputStreamImp, RWFilteredCharInputStreamImp, RWFilteredCharOutputStreamImp, RWFilteredDataInputStreamImp, RWFilteredDataOutputStreamImp, RWFilteredUCharInputStreamImp, RWFilteredUCharOutputStreamImp, RWFilteredWCharInputStreamImp, RWFilteredWCharOutputStreamImp, RWIstreamDataFromCharInputStreamImp, RWOstreamDataToCharOutputStreamImp, RWSynchronizedDataInputStreamImp, RWSynchronizedDataOutputStreamImp, RWTInputStreamBufferImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWByteInputStream, RWFilteredByteInputStreamImp >, RWTInputStreamLockImp< RWCharInputStream, RWFilteredCharInputStreamImp >, RWTInputStreamLockImp< RWUCharInputStream, RWFilteredUCharInputStreamImp >, RWTInputStreamLockImp< RWWCharInputStream, RWFilteredWCharInputStreamImp >, RWUCharFromByteInputStreamImp, RWUCharFromUTF8ByteInputStreamImp, RWUCharToByteOutputStreamImp, RWUCharToUTF8ByteOutputStreamImp, RWWCharFromWStreambufInputStreamImp, and RWWCharToWStreambufOutputStreamImp.
|
private |
Assignment is not allowed.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |