Module: Essential Tools Module Group: Date and Time Classes
RWCollectable RWCollectableTime RWTime
binaryStoreSize() compareTo() hash() |
isA() isEqual() restoreGuts() |
RWCollectableTime() saveGuts() stringID() |
~RWCollectableTime() |
typedef RWCollectableTime Time; // Smalltalk typedef #include <rw/colltime.h> RWCollectableTime t;
NOTE -- RWCollectableTime and RWTime are deprecated and are no longer supported. They may be removed from future releases. Please use RWDateTimeCollectable and RWDateTime.
Inherits classes RWTime and RWCollectable. This class is useful when times are used as keys in the "dictionary" collection classes, or if times are stored and retrieved as RWCollectables. The virtual functions of the base class RWCollectable have been redefined.
Polymorphic
RWCollectableTime(); RWCollectableTime(unsigned long s); RWCollectableTime(unsigned hour, unsigned minute, unsigned sec = 0,const RWZone& zone = RWZone::local()); RWCollectableTime(const RWDate& day, unsigned hour=0, unsigned minute=0, unsigned sec = 0, const RWZone& zone = RWZone::local()); RWCollectableTime(const RWDate& day, const RWCString& str, const RWZone& zone = RWZone::local(), const RWLocale& locale = RWLocale::global()); RWCollectableTime(const struct tm* tmb, const RWZone& zone = RWZone::local());
Calls the corresponding constructor of RWTime.
virtual ~RWCollectableTime();
Empty destructor.
virtual RWspace binaryStoreSize() const;
Redefined from class RWCollectable.
virtual int compareTo(const RWCollectable* c) const;
Redefined from class RWCollectable. Returns the results of calling RWTime::compareTo.
virtual unsigned hash() const;
Redefined from class RWCollectable. Returns the results of calling RWTime::hash().
virtual RWClassID isA() const;
Redefined from class RWCollectable to return __RWCOLLECTABLETIME.
virtual bool isEqual(const RWCollectable* c) const;
Redefined from class RWCollectable. Returns the results of calling operator==() for the base class RWTime by using appropriate casts.
virtual void restoreGuts(RWvistream&); virtual void restoreGuts(RWFile&); virtual void saveGuts(RWvostream&) const; virtual void saveGuts(RWFile&) const;
Redefined from class RWCollectable.
RWStringID stringID();
(acts virtual) Inherited from class RWCollectable.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.