Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Advanced Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWvostreamToDataOutputStream

Module:  Advanced Tools   Package:  Streams


RWvostreamToDataOutputStream RWvostream

Local Index

Members

Header File

#include <rw/stream/RWvostreamToDataOutputStream.h>

Description

The class RWvostreamToDataOutputStream is an adaptor class that adapts the Rogue Wave virtual stream interface to the new Rogue Wave data output stream interface. Requests made through the Rogue Wave virtual output stream interface are forwarded to the embedded RWDataOutputStream handle.

Public Constructor

RWvostreamToDataOutputStream(RWDataOutputStream& sinkStream);

Public Destructor

virtual 
~RWvostreamToDataOutputStream();

Public Operators

virtual RWvostream& 
operator<<(char value);
virtual RWvostream& 
operator<<(const char* string);
virtual RWvostream& 
operator<<(double value);
virtual RWvostream& 
operator<<(float value);

virtual RWvostream& 
operator<<(int value);

virtual RWvostream& 
operator<<(long value);

virtual RWvostream& 
operator<<(short value);

virtual RWvostream& 
operator<<(unsigned int value);

virtual RWvostream& 
operator<<(unsigned long value);

virtual RWvostream& 
operator<<(unsigned short value);
virtual RWvostream& 
operator<<(unsigned char value);
virtual RWvostream& 
operator<<(wchar_t value);

Public Member Functions

virtual int 
bad();
virtual void 
clear(int v=0);
virtual int 
eof();
virtual int 
fail();
virtual RWvostream& 
flush();
virtual int 
good();
virtual RWvostream& 
put(const bool* arrayPt, size_t count);

virtual RWvostream& 
put(const char* arrayPt, size_t count);

virtual RWvostream& 
put(const double* arrayPt, size_t count);

virtual RWvostream& 
put(const float* arrayPt, size_t count);

virtual RWvostream& 
put(const int* arrayPt, size_t count);

virtual RWvostream& 
put(const long* arrayPt, size_t count);

virtual RWvostream& 
put(const short* arrayPt, size_t count);

virtual RWvostream& 
put(const unsigned char* arrayPt, size_t count);

virtual RWvostream& 
put(const unsigned int* arrayPt, size_t count);

virtual RWvostream& 
put(const unsigned long* arrayPt, size_t count);

virtual RWvostream& 
put(const unsigned short* arrayPt, size_t count);

virtual RWvostream& 
put(const wchar_t* arrayPt, size_t count);
virtual RWvostream& 
put(char value);

virtual RWvostream& 
put(bool value);

virtual RWvostream& 
put(unsigned char value);

virtual RWvostream& 
put(wchar_t value);
virtual RWvostream& 
putString(const char* string, size_t count);
virtual int 
rdstate();

Protected Member Functions

RWDataOutputStream& 
getSinkStream();

const RWDataOutputStream& 
getSinkStream() const;


Previous fileTop of DocumentContentsIndex pageNext file

© 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.