SourcePro® 2021.1 |
SourcePro® API Reference Guide |
Product Documentation: SourcePro Documentation Home |
Abstract base class for all the data from binary conversion input stream implementation classes. More...
#include <rw/stream/RWDataFromByteInputStreamImp.h>
Public Member Functions | |
virtual | ~RWDataFromByteInputStreamImp () |
virtual RWSize | available () const |
virtual void | close () |
virtual bool | isBad () const |
virtual bool | isEof () const |
virtual bool | isFail () const |
virtual bool | isGood () const |
virtual RWSize | skip (RWSize numUnits) |
![]() | |
virtual | ~RWDataInputStreamImp () |
virtual void | getBool (bool &value)=0 |
virtual RWSize | getBools (bool *arrayPt, RWSize count)=0 |
virtual void | getChar (char &value)=0 |
virtual void | getCharacter (char &value)=0 |
virtual RWSize | getChars (char *arrayPt, RWSize count)=0 |
virtual RWSize | getDelimitedString (char *string, RWSize maxCount, char delim)=0 |
virtual RWSize | getDelimitedUString (RWUChar *ustring, RWSize maxCount, RWUChar delim)=0 |
virtual RWSize | getDelimitedWString (wchar_t *wstring, RWSize maxCount, wchar_t delim)=0 |
virtual void | getDouble (double &value)=0 |
virtual RWSize | getDoubles (double *arrayPt, RWSize count)=0 |
virtual void | getFloat (float &value)=0 |
virtual RWSize | getFloats (float *arrayPt, RWSize count)=0 |
virtual void | getInt (int &value)=0 |
virtual RWSize | getInts (int *arrayPt, RWSize count)=0 |
virtual void | getLong (long &value)=0 |
virtual void | getLongDouble (long double &value)=0 |
virtual RWSize | getLongDoubles (long double *arrayPt, RWSize count)=0 |
virtual void | getLongLong (long long &value)=0 |
virtual RWSize | getLongLongs (long long *arrayPt, RWSize count)=0 |
virtual RWSize | getLongs (long *arrayPt, RWSize count)=0 |
virtual void | getShort (short &value)=0 |
virtual RWSize | getShorts (short *arrayPt, RWSize count)=0 |
virtual void | getSignedChar (signed char &value)=0 |
virtual RWSize | getSignedChars (signed char *arrayPt, RWSize count)=0 |
virtual void | getSizeT (size_t &value)=0 |
virtual RWSize | getString (char *string, RWSize count)=0 |
virtual void | getUCharacter (RWUChar &value)=0 |
virtual void | getUnsignedChar (unsigned char &value)=0 |
virtual RWSize | getUnsignedChars (unsigned char *arrayPt, RWSize count)=0 |
virtual void | getUnsignedInt (unsigned int &value)=0 |
virtual RWSize | getUnsignedInts (unsigned int *arrayPt, RWSize count)=0 |
virtual void | getUnsignedLong (unsigned long &value)=0 |
virtual void | getUnsignedLongLong (unsigned long long &value)=0 |
virtual RWSize | getUnsignedLongLongs (unsigned long long *arrayPt, RWSize count)=0 |
virtual RWSize | getUnsignedLongs (unsigned long *arrayPt, RWSize count)=0 |
virtual void | getUnsignedShort (unsigned short &value)=0 |
virtual RWSize | getUnsignedShorts (unsigned short *arrayPt, RWSize count)=0 |
virtual RWSize | getUString (RWUChar *arrayPt, RWSize count)=0 |
virtual void | getWchar_t (wchar_t &value)=0 |
virtual RWSize | getWchar_ts (wchar_t *arrayPt, RWSize count)=0 |
virtual void | getWCharacter (wchar_t &value)=0 |
virtual RWSize | getWString (wchar_t *wstring, RWSize count)=0 |
![]() | |
virtual | ~RWInputStreamImp () |
![]() | |
virtual | ~RWStreamImp () |
Additional Inherited Members | |
![]() | |
typedef RWTLockGuard< RWTMonitor< RWMutexLock > > | LockGuard |
typedef RWTTryLockGuard< RWTMonitor< RWMutexLock > > | TryLockGuard |
typedef RWTUnlockGuard< RWTMonitor< RWMutexLock > > | UnlockGuard |
![]() | |
typedef RWTLockGuard< RWTMonitor< RWMutexLock > > | LockGuard |
typedef RWTTryLockGuard< RWTMonitor< RWMutexLock > > | TryLockGuard |
typedef RWTUnlockGuard< RWTMonitor< RWMutexLock > > | UnlockGuard |
Abstract base class for all the data from the binary conversion input stream implementation classes. A conversion input stream is a stream that uses an attached input stream of a different format as the source of elements to its own functions. Implements the body idiom from the handle-body pattern.
|
virtual |
Destructor.
|
inlineprotected |
Used by the derived classes to initialize the attached source stream.
sourceStream | A handle to the attached source stream. |
|
virtual |
Returns the number of bytes that can be read from the attached source stream without blocking. Throws no exceptions.
Implements RWInputStreamImp.
|
inlineprotected |
Clears the data stream fail bit. Throws no exceptions.
|
virtual |
Forwards the close() request to the attached source stream.
Implements RWStreamImp.
|
inlineprotected |
Returns a handle to the attached source stream. They throw no exceptions.
|
inlineprotected |
Returns a handle to the attached source stream. They throw no exceptions.
|
virtual |
Forwards the isBad() request to the attached source stream. Throws no exceptions.
Implements RWStreamImp.
|
virtual |
Forwards the isEof() request to the attached source stream. Throws no exceptions.
Implements RWInputStreamImp.
|
virtual |
Forwards the isFail() request to the attached source stream. Throws no exceptions.
Implements RWStreamImp.
|
virtual |
Forwards the isGood() request to the attached source stream. Throws no exceptions.
Implements RWStreamImp.
|
inlineprotected |
Sets the data stream fail bit. Throws no exceptions.
Skips numUnits bytes from the input sequence of the attached source stream, if possible. The function returns the actual number of bytes skipped, which can be any value between 0 and numUnits.
numUnits | The number of bytes to be skipped. |
Implements RWInputStreamImp.
Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |