RWCollectableInt(3C++)
RWCollectableInt - Rogue Wave library class
Showing IRIX 6.5.15. Unchanged since IRIX 6.5.
Name RWCollectableInt - Rogue Wave library class Synopsis typedef RWCollectableInt Integer; // Smalltalk typedef #include <rw/collint.h> RWCollectableInt i; Description Collectable integers. Inherits classes RWInteger and RWCollectable. This class is useful when integers are used as keys in the "dictionary" collection classes, or if integers are stored and retrieved as RWCollectables. The virtual functions of the base class RWCollectable have been redefined. Persistence Polymorphic Public Constructors RWCollectableInt(); Calls the appropriate base class constructor. See RWInteger::RWInteger(). RWCollectableInt(int i); Calls the appropriate base class constructor. See RWInteger::RWInteger(int). Public Member Functions virtual RWspace binaryStoreSize() const; Redefined from class RWCollectable. virtual int compareTo(const RWCollectable* c) const; Redefined from class RWCollectable. Returns the difference between self and the RWCollectableInt pointed to by c. virtual unsigned hash() const; Redefined from class RWCollectable. Returns the RWCollectableInt's value as an unsigned, to be used as a hash value. virtual RWClassID isA() const; Redefined from class RWCollectable to return __RWCOLLECTABLEINT. virtual RWBoolean isEqual(const RWCollectable* c) const; Redefined from class RWCollectable. Returns TRUE if self has the same value as the RWCollectableInt at address c. 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.