Tools.h++ Manual

21-198 104011 Tandem Computers Incorporated
21
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) = 0;
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) = 0;
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) = 0;
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) = 0;
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) = 0;
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.
virtual RWvistream& get(unsigned char* v, size_t
N) = 0;
Get a vector of unsigned 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(unsigned short* v, size_t
N) = 0;
Get a vector of unsigned 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.