Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

RWCollectableTime


-->RWCollectable RWCollectableTime -->RWTime

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

typedef RWCollectableTime Time;  // Smalltalk typedef
#include <rw/colltime.h>
RWCollectableTime  t;

Description

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.

Persistence

Polymorphic

Public Constructors

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());

Public Member Functions

virtual RWspace
binaryStoreSize() const;
virtual int
compareTo(const RWCollectable* c) const;
virtual unsigned
hash() const;
virtual RWClassID
isA() const;
virtual RWBoolean
isEqual(const RWCollectable* c) const;
virtual void
restoreGuts(RWvistream&);
virtual void
restoreGuts(RWFile&);
virtual void
saveGuts(RWvostream&) const;
virtual void
saveGuts(RWFile&) const;
RWStringID
stringID();


Previous fileTop of documentContentsIndexNext file
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.