Tools.h++ Manual

21-20 104011 Tandem Computers Incorporated
21
RWbistream(istream& str);
Construct a
RWbistream
using the
streambuf
associated with the
istream
str
.
Public member functions
virtual int get();
Redefined from class
RWvistream
. Get and return the next
char
from the
input stream. Returns EOF if end of file is encountered.
virtual RWvistream& get(char& c);
Redefined from class
RWvistream
. Get the next
char
and store it in
c
.
virtual RWvistream& get(wchar_t& wc);
Redefined from class
RWvistream
. Get the next wide
char
and store it in
wc
.
virtual RWvistream& get(unsigned char& c);
Redefined from class
RWvistream
. Get the next
unsigned char
and store it
in
c
.
virtual RWvistream& get(char* v, size_t N);
Redefined from class
RWvistream
. Get a vector of char's and store then in the
array beginning at
v
. If the restore is stopped prematurely,
get
stores
whatever it can in
v
, and sets the failbit.
virtual RWvistream& get(wchar_t* v, size_t N);
Redefined from class
RWvistream
. Get a vector of wide char’s and store then
in the array beginning at
v
. If the restore is stopped prematurely,
get
stores
whatever it can in
v
, and sets the failbit.
virtual RWvistream& get(double* v, size_t N);
Redefined from class
RWvistream
. Get a vector of double's and store then in
the array beginning at
v
. If the restore is stopped prematurely,
get
stores
whatever it can in
v
, and sets the failbit.
virtual RWvistream& get(float* v, size_t N);
Redefined from class
RWvistream
. Get a vector of float's and store then in the
array beginning at
v
. If the restore is stopped prematurely,
get
stores
whatever it can in
v
, and sets the failbit.
virtual RWvistream& get(int* v, size_t N);
Redefined from class
RWvistream
. Get a vector of int's and store then in the
array beginning at
v
. If the restore is stopped prematurely,
get
stores
whatever it can in
v
, and sets the failbit.