Tools.h++ Class Reference

Table Of Contents
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) = 0;
Get a vector of N 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) = 0;
Get a vector of N 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) = 0;
Get a vector of N unsigned 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 int* v, size_t N) = 0;
Get a vector of N unsigned 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(unsigned long* v, size_t N) = 0;
Get a vector of N unsigned 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&
getString(char* s, size_t N) = 0;
Restores a character string from the input stream that was stored to the output stream with
RWvostream::putstring 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 N-1