Tools.h++ Manual

21-56 104011 Tandem Computers Incorporated
21
RWCollectableDate
RWCollectableDate
||
RWCollectable RWDate
Synopsis
typedef RWCollectableDate Date; // Smalltalk typedef
#include <rw/colldate.h>
RWCollectableDate d;
Description Collectable Dates. Inherits classes
RWDate
and
RWCollectable
. This class is
useful when dates are used as keys in the "dictionary" collection classes, or if
dates are stored and retrieved as
RWCollectables
. The virtual functions of
the base class
RWCollectable
have been redefined.
Public constructors
RWCollectableDate();
RWCollectableDate(unsigned day, unsigned year);
RWCollectableDate(unsigned day, unsigned month, unsigned
year);
RWCollectableDate(unsigned day, const char* mon, unsigned
year, const RWLocale& locale =
RWLocale::global());
RWCollectableDate(istream& s, const RWLocale& locale =
RWLocale::global());
RWCollectableDate(const RWCString& str,
const RWLocale& locale =
RWLocale::global());
RWCollectableDate(const RWTime& t, const RWZone& zone
=RWZone::local());
RWCollectableDate(const struct tm* tmb);
RWCollectableDate(const RWDate& d);
Calls the corresponding constructor of the base class
RWDate.
Public member functions
virtual RWspace binaryStoreSize() const;
Redefined from class
RWCollectable
.