SourcePro® 2023.1 |
SourcePro® API Reference Guide |
Deprecated. Inherits classes RWTime and RWCollectable. More...
#include <rw/colltime.h>
Public Member Functions | |
RWCollectableTime () | |
RWCollectableTime (unsigned long s) | |
RWCollectableTime (const RWTime &t) | |
RWCollectableTime (unsigned h, unsigned m, unsigned s=0, const RWZone &zone=RWZone::local()) | |
RWCollectableTime (const RWDate &d, unsigned h=0, unsigned m=0, unsigned s=0, const RWZone &zone=RWZone::local()) | |
RWCollectableTime (const RWDate &d, const RWCString &str, const RWZone &z=RWZone::local(), const RWLocale &l=RWLocale::global()) | |
RWCollectableTime (const struct tm *tmb, const RWZone &zone=RWZone::local()) | |
virtual | ~RWCollectableTime () |
virtual RWspace | binaryStoreSize () const |
virtual int | compareTo (const RWCollectable *c) const |
virtual RWCollectable * | copy () const |
virtual unsigned | hash () const |
virtual RWClassID | isA () const |
virtual bool | isEqual (const RWCollectable *) const |
virtual RWCollectable * | newSpecies () const |
virtual void | restoreGuts (RWvistream &) |
virtual void | restoreGuts (RWFile &) |
virtual void | saveGuts (RWvostream &) const |
virtual void | saveGuts (RWFile &) const |
Public Member Functions inherited from RWCollectable | |
virtual | ~RWCollectable () |
RWspace | recursiveStoreSize () const |
RWStringID | stringID () const |
Public Member Functions inherited from RWTime | |
RWTime () | |
RWTime (unsigned long s) | |
RWTime (unsigned hour, unsigned minute, unsigned second=0, const RWZone &zone=RWZone::local()) | |
RWTime (const RWDate &date, unsigned hour=0, unsigned minute=0, unsigned second=0, const RWZone &zone=RWZone::local()) | |
RWTime (const RWDate &date, const RWCString &str, const RWZone &zone=RWZone::local(), const RWLocale &locale=RWLocale::global()) | |
RWTime (const struct tm *ptm, const RWZone &zone=RWZone::local()) | |
RWCString | asString (char format= '\0', const RWZone &zone=RWZone::local(), const RWLocale &locale=RWLocale::global()) const |
RWCString | asString (const char *format, const RWZone &zone=RWZone::local(), const RWLocale &locale=RWLocale::global()) const |
bool | between (const RWTime &a, const RWTime &b) const |
RWspace | binaryStoreSize () const |
int | compareTo (const RWTime *t) const |
void | extract (struct tm *ptm, const RWZone &zone=RWZone::local()) const |
unsigned | hash () const |
unsigned | hour (const RWZone &zone=RWZone::local()) const |
unsigned | hourGMT () const |
bool | isDST (const RWZone &zone=RWZone::local()) const |
bool | isValid () const |
RWTime | max (const RWTime &t) const |
RWTime | min (const RWTime &t) const |
unsigned | minute (const RWZone &zone=RWZone::local()) const |
unsigned | minuteGMT () const |
RWTime | operator++ () |
RWTime | operator++ (int) |
RWTime & | operator+= (unsigned long s) |
RWTime | operator-- () |
RWTime | operator-- (int) |
RWTime & | operator-= (unsigned long s) |
unsigned | second () const |
unsigned long | seconds () const |
Static Public Member Functions | |
static RWClassID | classIsA () |
Static Public Member Functions inherited from RWCollectable | |
static RWClassID | classID (const RWStringID &name) |
static RWClassID | classIsA () |
static bool | isAtom (RWClassID id) |
static RWspace | nilStoreSize () |
Static Public Member Functions inherited from RWTime | |
static RWTime | beginDST (unsigned year, const RWZone &zone=RWZone::local()) |
static RWTime | endDST (unsigned year, const RWZone &zone=RWZone::local()) |
static unsigned | hash (const RWTime &t) |
static RWTime | now () |
Additional Inherited Members | |
Related Functions inherited from RWTime | |
RWvostream & | operator<< (RWvostream &str, const RWTime &t) |
RWFile & | operator<< (RWFile &file, const RWTime &t) |
RWvistream & | operator>> (RWvistream &str, RWTime &t) |
RWFile & | operator>> (RWFile &file, RWTime &t) |
RWCollectableTime and RWTime are deprecated and are no longer supported. They may be removed from future releases. Please use RWCollectableDateTime 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 RWCollectable instances.
The virtual functions of the base class RWCollectable have been redefined.
RWCollectableTime::RWCollectableTime | ( | ) |
Calls the corresponding constructor of RWTime.
|
inline |
Calls the corresponding constructor of RWTime.
|
inline |
Calls the corresponding constructor of RWTime.
|
inline |
Calls the corresponding constructor of RWTime.
|
inline |
Calls the corresponding constructor of RWTime.
|
inline |
Calls the corresponding constructor of RWTime.
|
inline |
Calls the corresponding constructor of RWTime.
|
virtual |
Empty destructor.
|
inlinevirtual |
Returns the number of bytes used by the virtual function saveGuts(RWFile&) to store an object. Typically, this involves adding up the space required to store all primitives, plus the results of calling recursiveStoreSize() for all objects inheriting from RWCollectable. See the Essential Tools Module User's Guide for details.
Reimplemented from RWCollectable.
|
virtual |
If c is an RWCollectableTime, returns the result of calling RWTime::compareTo(), otherwise returns a nonzero value based on the type of c.
Reimplemented from RWCollectable.
|
virtual |
Returns a new, copy-constructed object of the same type as self. The caller is responsible for deleting the object.
Reimplemented from RWCollectable.
|
virtual |
Returns the results of calling RWTime::hash().
Reimplemented from RWCollectable.
|
virtual |
Returns the unique ID for RWCollectableTime.
Reimplemented from RWCollectable.
|
virtual |
Behaves as if compareTo(t) was invoked, returning true
if the result equals 0, false
otherwise.
Reimplemented from RWCollectable.
|
virtual |
Returns a new, default-constructed object of the same type as self. The caller is responsible for deleting the object.
Reimplemented from RWCollectable.
|
virtual |
Reads an object's state from an input stream, replacing the previous state.
Reimplemented from RWCollectable.
|
virtual |
Reads an object's state from a binary file, using class RWFile, replacing the previous state.
Reimplemented from RWCollectable.
|
virtual |
Writes an object's state to an output stream.
Reimplemented from RWCollectable.
|
virtual |
Writes an object's state to a binary file, using class RWFile.
Reimplemented from RWCollectable.
Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |