Tools.h++ Manual
104011 Tandem Computers Incorporated 21-199
21
virtual RWvistream& get(unsigned int* v, size_t N)
= 0;
Get a vector of unsigned 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.
virtual RWvistream& get(unsigned long* v, size_t
N) = 0
;
Get a vector of unsigned long'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& getString(char* s, size_t N)
= 0;
Restores a character string from the input stream and stores it in the array
beginning at
s
. The function stops reading at the end of the string or after N–
1 characters, whichever comes first. If the latter, then the failbit of the stream
will be set. In either case, the string will be terminated with a null byte.
virtual RWvistream& getString(wchar_t* ws, size_t N)
= 0;
Restores a wide character string from the input stream and stores it in the array
beginning at
ws
. The function stops reading at the end of the string or after
N-
1
characters, whichever comes first. If the latter, then the failbit of the stream
will be set. In either case, the string will be terminated with a null byte.
virtual RWvistream& operator>>(char& c) = 0;
Get the next character from the input stream and store it in
c
.
virtual RWvistream& operator>>(wchar_t& wc) = 0;
Get the next wide character from the input stream and store it in
wc
.
virtual RWvistream& operator>>(double& d) = 0;
Get the next double from the input stream and store it in
d
.
virtual RWvistream& operator>>(float& f) = 0;
Get the next float from the input stream and store it in
f
.
virtual RWvistream& operator>>(int& i) = 0;
Get the next int from the input stream and store it in
i
.
virtual RWvistream& operator>>(long& l) = 0;
Get the next long from the input stream and store it in
l
.