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

RWNativeDataToByteOutputStreamImp

Module:  Advanced Tools   Package:  Streams


RWNativeDataToByteOutputStreamImp RWDataToByteOutputStreamImp RWDataOutputStreamImp RWOutputStreamImp RWStreamImp RWBodyBase

Local Index

Members

Header File

#include <rw/stream/RWNativeDataToByteOutputStreamImp.h>

Description

The class RWNativeDataToByteOutputStreamImp writes data in native format to a binary stream. Implements the body idiom from the handle-body pattern.

Protected Constructor

RWNativeDataToByteOutputStreamImp(RWByteOutputStream&
sinkStream);

Public Destructor

virtual 
~RWNativeDataToByteOutputStreamImp();

Static Public Member Functions

static RWDataOutputStream 
make(RWByteOutputStream& sink);

Public Member Functions

virtual void 
putBools(const bool* arrayPt, RWSize count);

virtual void 
putChars(const char* arrayPt, RWSize count);

virtual void 
putDoubles(const double* arrayPt, RWSize count);

virtual void 
putFloats(const float* arrayPt, RWSize count);

virtual void 
putInts(const int* arrayPt, RWSize count);

virtual void 
putLongs(const long* arrayPt, RWSize count);

virtual void 
putLongDoubles(const long double* arrayPt, RWSize count);

virtual void 
putLongLongs(const long long* arrayPt, RWSize count);

virtual void 
putLongs(const long* arrayPt, RWSize count);

virtual void 
putShorts(const short* arrayPt, RWSize count);

virtual void 
putSignedChars(const signed char* arrayPt, RWSize count);

virtual void 
putUnsignedChars(const unsigned char* arrayPt, RWSize count);

virtual void 
putUnsignedInts(const unsigned int* arrayPt, RWSize count);

virtual void 
putUnsignedLongs(const unsigned long* arrayPt, RWSize count);

virtual void 
putUnsignedShorts(const unsigned short* arrayPt, RWSize count);

virtual void 
putWchar_ts(const wchar_t* arrayPt, RWSize count);
virtual void 
putCharacter(char value);
virtual void 
putString(const char* string, RWSize count);
virtual void 
putUCharacter(RWUChar value);
virtual void 
putUString(const RWUChar* ustring, RWSize count);
virtual void 
putWCharacter(wchar_t value);
virtual void 
putWString(const wchar_t* wstring, RWSize count);


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.