Tools.h++ Class Reference

Table Of Contents
istream&
operator>>(istream& s, RWDate& t);
Reads t from istream s. One full line is read, and the string contained is converted
according to the locale imbued in the stream (see class RWLocale), or by
RWLocale::global() if none. The function RWDate::isValid() must be used to test
whether the results are a valid date.
RWvostream&
operator<<(RWvostream&, const RWDate& date);
RWFile&
operator<<(RWFile&, const RWDate& date);
Saves the date date to a virtual stream or RWFile, respectively.
RWvistream&
operator>>(RWvistream&, RWDate& date);
RWFile&
operator>>(RWFile&, RWDate& date);
Restores the date into date from a virtual stream or RWFile, respectively, replacing the
previous contents of date.