rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWFilteredDataInputStreamImp Class Reference
[Streams]

Abstract base class for all the filtered data input stream implementation classes. More...

#include <rw/stream/RWFilteredDataInputStreamImp.h>

Inheritance diagram for RWFilteredDataInputStreamImp:
RWDataInputStreamImp RWInputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock > RWObjectInputStreamImp RWSynchronizedDataInputStreamImp RWCompactObjectInputStreamImp RWEnhancedXmlObjectInputStreamImp RWXmlObjectInputStreamImp RWTParsedTransformObjectInputStreamImp< Transform > RWTTransformObjectInputStreamImp< Transform >

List of all members.

Public Member Functions

virtual ~RWFilteredDataInputStreamImp ()
virtual void close ()
virtual bool isBad () const
virtual bool isFail () const
virtual bool isEof () const
virtual bool isGood () const
virtual void getBool (bool &value)
virtual void getChar (char &value)
virtual void getUnsignedChar (unsigned char &value)
virtual void getSignedChar (signed char &value)
virtual void getShort (short &value)
virtual void getUnsignedShort (unsigned short &value)
virtual void getInt (int &value)
virtual void getUnsignedInt (unsigned int &value)
virtual void getLong (long &value)
virtual void getUnsignedLong (unsigned long &value)
virtual void getFloat (float &value)
virtual void getDouble (double &value)
virtual void getWchar_t (wchar_t &value)
virtual void getLongLong (long long &value)
virtual void getUnsignedLongLong (unsigned long long &value)
virtual void getLongDouble (long double &value)
virtual void getCharacter (char &value)
virtual void getWCharacter (wchar_t &value)
virtual void getUCharacter (RWUChar &value)
virtual void getSizeT (size_t &value)
virtual RWSize getBools (bool *arrayPt, RWSize count)
virtual RWSize getChars (char *arrayPt, RWSize count)
virtual RWSize getUnsignedChars (unsigned char *arrayPt, RWSize count)
virtual RWSize getSignedChars (signed char *arrayPt, RWSize count)
virtual RWSize getShorts (short *arrayPt, RWSize count)
virtual RWSize getUnsignedShorts (unsigned short *arrayPt, RWSize count)
virtual RWSize getInts (int *arrayPt, RWSize count)
virtual RWSize getUnsignedInts (unsigned int *arrayPt, RWSize count)
virtual RWSize getLongs (long *arrayPt, RWSize count)
virtual RWSize getUnsignedLongs (unsigned long *arrayPt, RWSize count)
virtual RWSize getFloats (float *arrayPt, RWSize count)
virtual RWSize getDoubles (double *arrayPt, RWSize count)
virtual RWSize getWchar_ts (wchar_t *arrayPt, RWSize count)
virtual RWSize getLongLongs (long long *arrayPt, RWSize count)
virtual RWSize getUnsignedLongLongs (unsigned long long *arrayPt, RWSize count)
virtual RWSize getLongDoubles (long double *arrayPt, RWSize count)
virtual RWSize getString (char *string, RWSize count)
virtual RWSize getWString (wchar_t *wstring, RWSize count)
virtual RWSize getUString (RWUChar *ustring, RWSize count)
virtual RWSize getDelimitedString (char *string, RWSize maxCount, char delim)
virtual RWSize getDelimitedWString (wchar_t *wstring, RWSize maxCount, wchar_t delim)
virtual RWSize getDelimitedUString (RWUChar *ustring, RWSize maxCount, RWUChar delim)
virtual RWSize available () const
virtual RWSize skip (RWSize numUnits)

Protected Member Functions

 RWFilteredDataInputStreamImp (const RWDataInputStream &sourceStream)
RWDataInputStreamgetSourceStream ()
const RWDataInputStreamgetSourceStream () const

Detailed Description

Abstract base class for all the filtered data input stream implementation classes. A filtered input stream is a stream that uses its attached input stream as the source of elements to its own functions. Implements the body idiom from the handle-body pattern.


Constructor & Destructor Documentation

virtual RWFilteredDataInputStreamImp::~RWFilteredDataInputStreamImp (  )  [virtual]

Destructor. Throws no exceptions.

RWFilteredDataInputStreamImp::RWFilteredDataInputStreamImp ( const RWDataInputStream sourceStream  )  [inline, protected]

Used by derived classes to initialize the attached source stream. Throws no exceptions.

Parameters:
sourceStream A handle to the attached source stream.

Member Function Documentation

virtual RWSize RWFilteredDataInputStreamImp::available (  )  const [virtual]

Returns the number of elements that can be read from the attached source stream without blocking. The elements can be of type RWByte, char, RWUChar, or wchar_t depending on the type of the attached source stream. Throws no exceptions.

Implements RWInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::close (  )  [virtual]

Forward the close() request to the attached source stream.

Implements RWStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getBool ( bool &  value  )  [virtual]

Forward reading of a single bool value from the attached source stream.

Parameters:
value The value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getBools ( bool *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of bool elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getChar ( char &  value  )  [virtual]

Forward reading of a single char value from the attached source stream.

Parameters:
value The char value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWObjectInputStreamImp, RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getCharacter ( char &  value  )  [virtual]

Forward the reading of a narrow character from the attached source stream.

Parameters:
value The narrow character to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWObjectInputStreamImp, RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getChars ( char *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of char elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getDelimitedString ( char *  string,
RWSize  maxCount,
char  delim 
) [virtual]

Forward the reading of narrow characters from the stream until the last character read is equal to delim, or maxCount narrow characters have been read, or the end of the input sequence is reached. The narrow characters read are stored in string. The function returns the actual number of narrow characters read from the stream.

Parameters:
string A pointer to the string receiving the narrow character(s) extracted from the stream.
maxCount The maximum number of narrow character(s) to be read.
delim The narrow character used as a delimeter.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getDelimitedUString ( RWUChar ustring,
RWSize  maxCount,
RWUChar  delim 
) [virtual]

Forward the reading of UTF-16 characters from the stream until the last character read is equal to delim, or maxCount UTF-16 characters have been read, or the end of the input sequence is reached. The UTF-16 characters read are stored in ustring. The function returns the actual number of UTF-16 characters read from the stream.

Parameters:
ustring A pointer to the string receiving the unicode character(s) extracted from the stream.
maxCount The maximum number of unicode character(s) to be read.
delim The unicode character used as a delimeter.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getDelimitedWString ( wchar_t *  wstring,
RWSize  maxCount,
wchar_t  delim 
) [virtual]

Forward the reading of wide characters from the stream until the last character read is equal to delim, or maxCount wide characters have been read, or the end of the input sequence is reached. The wide characters read are stored in wstring. The function returns the actual number of wide characters read from the stream.

Parameters:
wstring A pointer to the string receiving the wide character(s) extracted from the stream.
maxCount The maximum number of wide character(s) to be read.
delim The wide character used as a delimeter.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getDouble ( double &  value  )  [virtual]

Forward reading of a single double value from the attached source stream.

Parameters:
value The double value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getDoubles ( double *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of double elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getFloat ( float &  value  )  [virtual]

Forward reading of a single float value from the attached source stream.

Parameters:
value The float value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getFloats ( float *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of float elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getInt ( int &  value  )  [virtual]

Forward reading of a single int value from the attached source stream.

Parameters:
value The int value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getInts ( int *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of int elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getLong ( long &  value  )  [virtual]

Forward reading of a single long value from the attached source stream.

Parameters:
value The long value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getLongDouble ( long double &  value  )  [virtual]

Forward reading of a single long double value from the attached source stream.

Parameters:
value The long double value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getLongDoubles ( long double *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of long double elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getLongLong ( long long &  value  )  [virtual]

Forward reading of a single long long value from the attached source stream.

Parameters:
value The long long value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getLongLongs ( long long *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of long long elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getLongs ( long *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of long elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getShort ( short &  value  )  [virtual]

Forward reading of a single short value from the attached source stream.

Parameters:
value The short value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getShorts ( short *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of short elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getSignedChar ( signed char &  value  )  [virtual]

Forward reading of a single signed char value from the attached source stream.

Parameters:
value The signed char value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getSignedChars ( signed char *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of signed char elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getSizeT ( size_t &  value  )  [virtual]

Reads a size_t value from the stream.

Parameters:
value The size_t value to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

const RWDataInputStream& RWFilteredDataInputStreamImp::getSourceStream (  )  const [inline, protected]

Returns a handle to the attached source stream. Throws no exceptions.

RWDataInputStream& RWFilteredDataInputStreamImp::getSourceStream (  )  [inline, protected]

Returns a handle to the attached source stream. Throws no exceptions.

virtual RWSize RWFilteredDataInputStreamImp::getString ( char *  string,
RWSize  count 
) [virtual]

Forward the reading of a string of narrow characters from the attached source stream. The function returns the number of narrow characters read.

Parameters:
string A pointer to the first element of the string. The string must have been pre-allocated to contain at least count narrow characters.
count The number of narrow character(s) to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWCompactObjectInputStreamImp, RWObjectInputStreamImp, RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getUCharacter ( RWUChar value  )  [virtual]

Forward the reading of a UTF-16 character from the attached source stream.

Parameters:
value The unicode character to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getUnsignedChar ( unsigned char &  value  )  [virtual]

Forward reading of a single unsigned char value from the attached source stream.

Parameters:
value The unsigned char value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getUnsignedChars ( unsigned char *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of unsigned char elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getUnsignedInt ( unsigned int &  value  )  [virtual]

Forward reading of a single unsigned int value from the attached source stream.

Parameters:
value The unsigned int value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getUnsignedInts ( unsigned int *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of unsigned int elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getUnsignedLong ( unsigned long &  value  )  [virtual]

Forward reading of a single unsigned long value from the attached source stream.

Parameters:
value The unsigned long value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getUnsignedLongLong ( unsigned long long &  value  )  [virtual]

Forward reading of a single unsigned long long value from the attached source stream.

Parameters:
value The unsigned long long value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getUnsignedLongLongs ( unsigned long long *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of unsigned long long elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getUnsignedLongs ( unsigned long *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of unsigned long elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getUnsignedShort ( unsigned short &  value  )  [virtual]

Forward reading of a single unsigned short value from the attached source stream.

Parameters:
value The unsigned short value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getUnsignedShorts ( unsigned short *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of unsigned short elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getUString ( RWUChar ustring,
RWSize  count 
) [virtual]

Forward the reading of a string of UTF-16 characters from the attached source stream. The function returns the number of UTF-16 characters read.

Parameters:
ustring A pointer to the first element of the string. The string must have been pre-allocated to contain at least count unicode characters.
count The number of unicode character(s) to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWCompactObjectInputStreamImp, RWObjectInputStreamImp, RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getWchar_t ( wchar_t &  value  )  [virtual]

Forward reading of a single wchar_t value from the attached source stream.

Parameters:
value The wchar_t value to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getWchar_ts ( wchar_t *  arrayPt,
RWSize  count 
) [virtual]

Forward the reading of an array of wchar_t elements from the attached source stream. The function returns the number of elements read.

Parameters:
arrayPt A pointer to the first element of the array. The array must have been pre-allocated to contain at least count elements.
count The number of elements to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual void RWFilteredDataInputStreamImp::getWCharacter ( wchar_t &  value  )  [virtual]

Forward the reading of a wide character from the attached source stream.

Parameters:
value The wide character to be read from the attached source stream.

Implements RWDataInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::getWString ( wchar_t *  wstring,
RWSize  count 
) [virtual]

Forward the reading of a string of wide characters from the attached source stream. The function returns the number of wide characters read.

Parameters:
wstring A pointer to the first element of the string. The string must have been pre-allocated to contain at least count wide characters.
count The number of wide character(s) to be read from the stream.

Implements RWDataInputStreamImp.

Reimplemented in RWCompactObjectInputStreamImp, RWObjectInputStreamImp, RWSynchronizedDataInputStreamImp, RWEnhancedXmlObjectInputStreamImp, and RWXmlObjectInputStreamImp.

virtual bool RWFilteredDataInputStreamImp::isBad (  )  const [virtual]

Forward the isBad() request to the attached source stream. Throws no exceptions.

Implements RWStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual bool RWFilteredDataInputStreamImp::isEof (  )  const [virtual]

Forward the isEof() request to the attached source stream. Throws no exceptions.

Implements RWInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual bool RWFilteredDataInputStreamImp::isFail (  )  const [virtual]

Forward the isFail() request to the attached source stream. Throws no exceptions.

Implements RWStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual bool RWFilteredDataInputStreamImp::isGood (  )  const [virtual]

Forward the isGood() request to the attached source stream. Throws no exceptions.

Implements RWStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

virtual RWSize RWFilteredDataInputStreamImp::skip ( RWSize  numUnits  )  [virtual]

Skips numUnits elements from the input sequence of the attached source stream if possible. The function returns the actual number of elements skipped, which can be any value between 0 and numUnits. The elements can be of type RWByte, char, RWUChar, or wchar_t depending on the type of the attached source stream.

Parameters:
numUnits The number of element(s) to be skipped.

Implements RWInputStreamImp.

Reimplemented in RWSynchronizedDataInputStreamImp.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.