Tools.h++ Manual

21-152 104011 Tandem Computers Incorporated
21
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.
Note – The vector is treated as a vector of numbers, not characters. If you wish
to restore a character string, use function
getString(char*, size_t)
.
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.
Note – The vector is treated as a vector of numbers, not characters. If you wish
to restore a character string, use function
getString(wchar_t*, size_t)
.
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.
virtual RWvistream& get(long* v, size_t N);
Redefined from class
RWvistream
. Get a vector of 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& get(short* v, size_t N);
Redefined from class
RWvistream
. Get a vector of short'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.