SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Abstract base class from which all output stream implementation classes that convert from data to narrow characters must derive. More...
#include <rw/stream/RWDataToCharOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWDataToCharOutputStreamImp () |
virtual void | close () |
virtual void | flush () |
virtual bool | isBad () const |
virtual bool | isFail () const |
virtual bool | isGood () const |
Public Member Functions inherited from RWDataOutputStreamImp | |
virtual | ~RWDataOutputStreamImp () |
virtual RWDataOutputStream | acquire () |
virtual void | putBool (bool value)=0 |
virtual void | putBools (const bool *arrayPt, RWSize count)=0 |
virtual void | putChar (char value)=0 |
virtual void | putCharacter (char value)=0 |
virtual void | putChars (const char *arrayPt, RWSize count)=0 |
virtual void | putDouble (double value)=0 |
virtual void | putDoubles (const double *arrayPt, RWSize count)=0 |
virtual void | putFloat (float value)=0 |
virtual void | putFloats (const float *arrayPt, RWSize count)=0 |
virtual void | putInt (int value)=0 |
virtual void | putInts (const int *arrayPt, RWSize count)=0 |
virtual void | putLong (long value)=0 |
virtual void | putLongDouble (long double value)=0 |
virtual void | putLongDoubles (const long double *arrayPt, RWSize count)=0 |
virtual void | putLongLong (long long value)=0 |
virtual void | putLongLongs (const long long *arrayPt, RWSize count)=0 |
virtual void | putLongs (const long *arrayPt, RWSize count)=0 |
virtual void | putShort (short value)=0 |
virtual void | putShorts (const short *arrayPt, RWSize count)=0 |
virtual void | putSignedChar (signed char value)=0 |
virtual void | putSignedChars (const signed char *arrayPt, RWSize count)=0 |
virtual void | putString (const char *string, RWSize count)=0 |
virtual void | putUCharacter (RWUChar value)=0 |
virtual void | putUnsignedChar (unsigned char value)=0 |
virtual void | putUnsignedChars (const unsigned char *arrayPt, RWSize count)=0 |
virtual void | putUnsignedInt (unsigned int value)=0 |
virtual void | putUnsignedInts (const unsigned int *arrayPt, RWSize count)=0 |
virtual void | putUnsignedLong (unsigned long value)=0 |
virtual void | putUnsignedLongs (const unsigned long *arrayPt, RWSize count)=0 |
virtual void | putUnsignedShort (unsigned short value)=0 |
virtual void | putUnsignedShorts (const unsigned short *arrayPt, RWSize count)=0 |
virtual void | putUString (const RWUChar *ustring, RWSize count)=0 |
virtual void | putWchar_t (wchar_t value)=0 |
virtual void | putWchar_ts (const wchar_t *arrayPt, RWSize count)=0 |
virtual void | putWCharacter (wchar_t value)=0 |
virtual void | putWString (const wchar_t *wstring, RWSize count)=0 |
virtual void | release () |
Public Member Functions inherited from RWOutputStreamImp | |
virtual | ~RWOutputStreamImp () |
Public Member Functions inherited from RWStreamImp | |
virtual | ~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 data to narrow character 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.
|
virtual |
Destructor.
|
inlineprotected |
Used by derived classes to initialize the next processing stream.
sinkStream | A handle to the next processing stream. |
|
virtual |
Forwards the close() request to the next processing stream.
Reimplemented from RWOutputStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
|
virtual |
Forwards the flush() request to the next processing stream.
Implements RWOutputStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
|
inlineprotected |
Returns a handle to the next processing stream. They throw no exceptions.
|
inlineprotected |
Returns a handle to the next processing stream. They throw no exceptions.
|
virtual |
Forwards the isBad() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
|
virtual |
Forwards the isFail() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
|
virtual |
Forwards the isGood() request to the next processing stream. Throws no exceptions.
Implements RWStreamImp.
Reimplemented in RWOstreamDataToCharOutputStreamImp.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |