Rogue Wave banner
Previous fileContentsIndexNext file
Click on the banner to return to the class reference home page.

RWCollectableInt


-->RWCollectable RWCollectableInt -->RWInteger

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

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();
RWCollectableInt(int i);

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 fileContentsIndexNext file

©Copyright 1997, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.