rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWFilteredDataOutputStreamImp Class Reference
[Streams]

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

#include <rw/stream/RWFilteredDataOutputStreamImp.h>

Inheritance diagram for RWFilteredDataOutputStreamImp:
RWDataOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase RWTCountingBody< RWMutexLock > RWTMonitor< RWMutexLock > RWObjectOutputStreamImp RWSynchronizedDataOutputStreamImp RWCompactObjectOutputStreamImp RWEnhancedXmlObjectOutputStreamImp RWXmlObjectOutputStreamImp RWTParsedTransformObjectOutputStreamImp< Transform > RWTTransformObjectOutputStreamImp< Transform >

List of all members.

Public Member Functions

virtual ~RWFilteredDataOutputStreamImp ()
virtual void close ()
virtual void flush ()
virtual bool isBad () const
virtual bool isFail () const
virtual bool isGood () const
virtual void putBool (bool value)
virtual void putChar (char value)
virtual void putUnsignedChar (unsigned char value)
virtual void putSignedChar (signed char value)
virtual void putShort (short value)
virtual void putUnsignedShort (unsigned short value)
virtual void putInt (int value)
virtual void putUnsignedInt (unsigned int value)
virtual void putLong (long value)
virtual void putUnsignedLong (unsigned long value)
virtual void putFloat (float value)
virtual void putDouble (double value)
virtual void putWchar_t (wchar_t value)
virtual void putLongLong (long long value)
virtual void putUnsignedLongLong (unsigned long long value)
virtual void putLongDouble (long double value)
virtual void putCharacter (char value)
virtual void putWCharacter (wchar_t value)
virtual void putUCharacter (RWUChar value)
virtual void putSizeT (size_t value)
virtual void putBools (const bool *arrayPt, RWSize count)
virtual void putChars (const char *arrayPt, RWSize count)
virtual void putUnsignedChars (const unsigned char *arrayPt, RWSize count)
virtual void putSignedChars (const signed char *arrayPt, RWSize count)
virtual void putShorts (const short *arrayPt, RWSize count)
virtual void putUnsignedShorts (const unsigned short *arrayPt, RWSize count)
virtual void putInts (const int *arrayPt, RWSize count)
virtual void putUnsignedInts (const unsigned int *arrayPt, RWSize count)
virtual void putLongs (const long *arrayPt, RWSize count)
virtual void putUnsignedLongs (const unsigned long *arrayPt, RWSize count)
virtual void putFloats (const float *arrayPt, RWSize count)
virtual void putDoubles (const double *arrayPt, RWSize count)
virtual void putWchar_ts (const wchar_t *arrayPt, RWSize count)
virtual void putLongLongs (const long long *arrayPt, RWSize count)
virtual void putUnsignedLongLongs (const unsigned long long *arrayPt, RWSize count)
virtual void putLongDoubles (const long double *arrayPt, RWSize count)
virtual void putString (const char *string, RWSize count)
virtual void putWString (const wchar_t *wstring, RWSize count)
virtual void putUString (const RWUChar *ustring, RWSize count)

Protected Member Functions

 RWFilteredDataOutputStreamImp (const RWDataOutputStream &sinkStream)
RWDataOutputStreamgetSinkStream ()
const RWDataOutputStreamgetSinkStream () const

Detailed Description

Abstract base class for all the filtered data output stream implementation classes. A filtered output stream, is a stream that process elements, and then forwards the result to another stream for further processing. Implements the body idiom from the handle-body pattern.


Constructor & Destructor Documentation

virtual RWFilteredDataOutputStreamImp::~RWFilteredDataOutputStreamImp (  )  [virtual]

Destructor. Throws no exceptions.

RWFilteredDataOutputStreamImp::RWFilteredDataOutputStreamImp ( const RWDataOutputStream sinkStream  )  [inline, protected]

Used by derived classes to initialize the next processing stream. Throws no exceptions.

Parameters:
sinkStream A handle to the next processing stream.

Member Function Documentation

virtual void RWFilteredDataOutputStreamImp::close (  )  [virtual]

Forwards the close() request to the next processing stream.

Reimplemented from RWOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::flush (  )  [virtual]

Forwards the flush() request to the next processing stream.

Implements RWOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

const RWDataOutputStream& RWFilteredDataOutputStreamImp::getSinkStream (  )  const [inline, protected]

Returns a handle to the next processing stream. Throws no exceptions.

RWDataOutputStream& RWFilteredDataOutputStreamImp::getSinkStream (  )  [inline, protected]

Returns a handle to the next processing stream. Throws no exceptions.

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

Forwards the isBad() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

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

Forwards the isFail() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

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

Forwards the isGood() request to the next processing stream. Throws no exceptions.

Implements RWStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putBool ( bool  value  )  [virtual]

Forward writing of a single bool value to the next processing stream.

Parameters:
value The bool value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putBools ( const bool *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of bool values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putChar ( char  value  )  [virtual]

Forward writing of a single char value to the next processing stream.

Parameters:
value The char value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putCharacter ( char  value  )  [virtual]

Forwards the writing of a single narrow character to the next processing stream.

Parameters:
value The narrow character to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putChars ( const char *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of char values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putDouble ( double  value  )  [virtual]

Forward writing of a single double value to the next processing stream.

Parameters:
value The double value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putDoubles ( const double *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of double values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putFloat ( float  value  )  [virtual]

Forward writing of a single float value to the next processing stream.

Parameters:
value The float value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putFloats ( const float *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of float values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putInt ( int  value  )  [virtual]

Forward writing of a single int value to the next processing stream.

Parameters:
value The int value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putInts ( const int *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of int values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putLong ( long  value  )  [virtual]

Forward writing of a single long value to the next processing stream.

Parameters:
value The long value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putLongDouble ( long double  value  )  [virtual]

Forward writing of a single long double value to the next processing stream.

Parameters:
value The long double value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putLongDoubles ( const long double *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of long double values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putLongLong ( long long  value  )  [virtual]

Forward writing of a single long long value to the next processing stream.

Parameters:
value The long long value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putLongLongs ( const long long *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of long long values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putLongs ( const long *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of long values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putShort ( short  value  )  [virtual]

Forward writing of a single short value to the next processing stream.

Parameters:
value The short value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putShorts ( const short *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of short values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putSignedChar ( signed char  value  )  [virtual]

Forward writing of a single signed char value to the next processing stream.

Parameters:
value The signed char value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putSignedChars ( const signed char *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of signed char values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putSizeT ( size_t  value  )  [virtual]

Forwards the writing of a single size_t character to the next processing stream.

Parameters:
value The size_t character to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putString ( const char *  string,
RWSize  count 
) [virtual]

Forwards the writing of a narrow character string, including embedded nulls, starting at string to the next processing stream.

Parameters:
string A pointer to the narrow string's first character.
count The number of narrow character(s) to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWCompactObjectOutputStreamImp, RWObjectOutputStreamImp, RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUCharacter ( RWUChar  value  )  [virtual]

Forwards the writing of a single UTF-16 character to the next processing stream.

Parameters:
value The unicode character to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedChar ( unsigned char  value  )  [virtual]

Forward writing of a single unsigned char value to the next processing stream.

Parameters:
value The unsigned char value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedChars ( const unsigned char *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of unsigned char values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedInt ( unsigned int  value  )  [virtual]

Forward writing of a single unsigned int value to the next processing stream.

Parameters:
value The unsigned int value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedInts ( const unsigned int *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of unsigned int values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedLong ( unsigned long  value  )  [virtual]

Forward writing of a single unsigned long value to the next processing stream.

Parameters:
value The unsigned long value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedLongLong ( unsigned long long  value  )  [virtual]

Forward writing of a single unsigned long long value to the next processing stream.

Parameters:
value The unsigned long long value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedLongLongs ( const unsigned long long *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of unsigned long long values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedLongs ( const unsigned long *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of unsigned long values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedShort ( unsigned short  value  )  [virtual]

Forward writing of a single unsigned short value to the next processing stream.

Parameters:
value The unsigned short value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUnsignedShorts ( const unsigned short *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of unsigned short values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putUString ( const RWUChar ustring,
RWSize  count 
) [virtual]

Forwards the writing of a UTF-16 character string, including embedded nulls, starting at ustring to the next processing stream.

Parameters:
ustring A pointer to the string's first unicode character.
count The number of unicode character(s) to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWCompactObjectOutputStreamImp, RWObjectOutputStreamImp, RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putWchar_t ( wchar_t  value  )  [virtual]

Forward writing of a single wchar_t value to the next processing stream.

Parameters:
value The wchar_t value to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putWchar_ts ( const wchar_t *  arrayPt,
RWSize  count 
) [virtual]

Forward writing of an array of wchar_t values to the next processing stream.

Parameters:
arrayPt A pointer to the first element of the array.
count The number of elements to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putWCharacter ( wchar_t  value  )  [virtual]

Forward writing of a single wide character to the next processing stream.

Parameters:
value The wide character to be written.

Implements RWDataOutputStreamImp.

Reimplemented in RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

virtual void RWFilteredDataOutputStreamImp::putWString ( const wchar_t *  wstring,
RWSize  count 
) [virtual]

Forwards the writing of a wide character string, including embedded nulls, starting at wstring to the next processing stream.

Parameters:
wstring A pointer to the string's first wide character.
count The number of wide character(s) to be written to the stream.

Implements RWDataOutputStreamImp.

Reimplemented in RWCompactObjectOutputStreamImp, RWObjectOutputStreamImp, RWSynchronizedDataOutputStreamImp, RWEnhancedXmlObjectOutputStreamImp, and RWXmlObjectOutputStreamImp.

 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.