Tools.h++ Class Reference

Table Of Contents
Redefined from class RWvistream. Get a vector of doubles and store them in the array
beginning at v. If the restore operation stops prematurely, because there are no more data
available on the stream, because an exception is thrown, or for some other reason; get
stores what has already been retrieved from the stream into v, and sets the failbit.
virtual RWvistream&
get(float* v, size_t N);
Redefined from class RWvistream. Get a vector of floats and store them in the array
beginning at v. If the restore operation stops prematurely, because there are no more data
available on the stream, because an exception is thrown, or for some other reason; get
stores what has already been retrieved from the stream into v, and sets the failbit.
virtual RWvistream&
get(int* v, size_t N);
Redefined from class RWvistream. Get a vector of ints and store them in the array
beginning at v. If the restore operation stops prematurely, because there are no more data
available on the stream, because an exception is thrown, or for some other reason; get
stores what has already been retrieved from the stream into v, and sets the failbit.
virtual RWvistream&
get(long* v, size_t N);
Redefined from class RWvistream. Get a vector of longs and store them in the array
beginning at v. If the restore operation stops prematurely, because there are no more data
available on the stream, because an exception is thrown, or for some other reason; get
stores what has already been retrieved from the stream into v, and sets the failbit.
virtual RWvistream&
get(short* v, size_t N);
Redefined from class RWvistream. Get a vector of shorts and store them in the array
beginning at v. If the restore operation stops prematurely, because there are no more data
available on the stream, because an exception is thrown, or for some other reason; get
stores what has already been retrieved from the stream into v, and sets the failbit.
virtual RWvistream&
get(unsigned char* v, size_t N);
Redefined from class RWvistream. Get a vector of unsigned chars and store them in the
array beginning at v. If the restore operation stops prematurely, because there are no more
data available on the stream, because an exception is thrown, or for some other reason;
get stores what has already been retrieved from the stream into v, and sets the failbit.
Note that this member preserves ASCII numerical codes, not their corresponding
character values. If you wish to restore a character string, use the function
getString(char*, size_t).
virtual RWvistream&
get(unsigned short* v, size_t N);