Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Tools Module Reference Guide

RWCollectableDate

Module:  Essential Tools Module   Group:  Date and Time


RWCollectable RWCollectableDate RWDate

Local Index

Members

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.

Persistence

Polymorphic

Public Constructors

RWCollectableDate();
RWCollectableDate(unsigned long julianDate);
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);

Public Destructor

virtual ~RWCollectableDate();

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* t) const;
virtual void
restoreGuts(RWvistream&);
virtual void
restoreGuts(RWFile&);
virtual void
saveGuts(RWvostream&) const;
virtual void
saveGuts(RWFile&) const;
RWStringID
stringID();


Previous fileTop of DocumentContentsIndex pageNext file

©2004 Copyright Quovadx, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Quovadx, 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.