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

RWDataInputStream

Module:  Advanced Tools   Package:  Streams


RWDataInputStream RWHandleBase

Local Index

Members

Header File

#include <rw/stream/RWDataInputStream.h>

Description

Handle class for all the data input stream implementation classes. Implements the handle idiom from the handle-body pattern.

Public Constructors

RW_EXPLICIT 
RWDataInputStream(RWDataInputStreamImp* body);
RWDataInputStream(const RWDataInputStream& handle) ;

Public Operators

RWDataInputStream& 
operator=(const RWDataInputStream& handle);
RWDataInputStream& 
operator>>(RWDataInputStream& (*pf)(RWDataInputStream&));
RWDataInputStream& 
operator>>(bool& value);

RWDataInputStream& 
operator>>(char& value);

RWDataInputStream& 
operator>>(double& value);

RWDataInputStream& 
operator>>(float& value);

RWDataInputStream& 
operator>>(int& value);

RWDataInputStream& 
operator>>(long& value);

RWDataInputStream& 
operator>>(long double& value);

RWDataInputStream& 
operator>>(long long& value);

RWDataInputStream& 
operator>>(short& value);

RWDataInputStream& 
operator>>(signed char& value);

RWDataInputStream& 
operator>>(unsigned char& value);

RWDataInputStream& 
operator>>(unsigned int& value);

RWDataInputStream& 
operator>>(unsigned long& value);

RWDataInputStream& 
operator>>(unsigned short& value);

RWDataInputStream& 
operator>>(wchar_t& value);

Public Member Functions

RWSize 
available() const;
void 
close();
RWSize 
getBools(bool* arrayPt, RWSize count);

RWSize 
getChars(char* arrayPt, RWSize count);

RWSize 
getDoubles(double* arrayPt, RWSize count);

RWSize 
getFloats(float* arrayPt, RWSize count);

RWSize 
getInts(int* arrayPt, RWSize count);

RWSize 
getLongs(long* arrayPt, RWSize count);

RWSize 
getLongDoubles(long double* arrayPt, RWSize count);

RWSize 
getLongLongs(long long* arrayPt, RWSize count);

RWSize 
getShorts(short* arrayPt, RWSize count);

RWSize 
getSignedChars(signed char* arrayPt, RWSize count);

RWSize 
getUnsignedChars(unsigned char* arrayPt, RWSize count);
RWSize 
getUnsignedInts(unsigned int* arrayPt, RWSize count);

RWSize 
getUnsignedLongs(unsigned long* arrayPt, RWSize count);

RWSize 
getUnsignedShorts(unsigned short* arrayPt, RWSize count);
RWSize 
getWchar_ts(wchar_t* arrayPt, RWSize count);
void 
getBool(bool& value);

void 
getChar(char& value);

void 
getDouble(double& value);

void 
getFloat(float& value);

void 
getInt(int& value);

void 
getLong(long& value);

void 
getLongDouble(long double& value);

void 
getLongLong(long long& value);
void 
getShort(short& value);

void 
getSignedChar(signed char& value);

void 
getUnsignedChar(unsigned char& value);

void 
getUnsignedInt(unsigned int& value);
void 
getUnsignedLong(unsigned long& value);

void 
getUnsignedShort(unsigned short& value);

void 
getWchar_t(wchar_t& value);
void 
getCharacter(char& value);
RWSize 
getDelimitedString(char* string, RWSize maxCount, 
                   char delim= '\0');
RWSize 
getDelimitedUString(RWUChar* ustring, RWSize maxCount, 
RWUChar delim);
RWSize 
getDelimitedWString(wchar_t* wstring, RWSize maxCount, 
wchar_t delim= L'\0');
RWSize 
getString(char* string, RWSize count);
void 
getUCharacter(RWUChar& value);
RWSize 
getUString(RWUChar* ustring, RWSize count);
void 
getWCharacter(wchar_t& value);
RWSize 
getWString(wchar_t* wstring, RWSize count);
bool 
isBad() const;
bool 
isEof() const;
bool 
isFail() const;
bool 
isGood() const;
RWSize 
skip(RWSize numUnits);


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.