Tools.h++ Class Reference

Table Of Contents
Public Constructors
RWCollectableAssociation();
RWCollectableAssociation(RWCollectable* k, RWCollectable* v);
Construct an RWCollectableAssociation with the given key and value.
Public Destructor
virtual ~RWCollectableAssociation();
virtual RWspace
binaryStoreSize() const;
Redefined from class RWCollectable.
Public Member Functions
virtual int
compareTo(const RWCollectable* c) const;
Redefined from class RWCollectable. Returns the results of calling key()->compareTo(c).
virtual unsigned
hash() const;
Redefined from class RWCollectable. Returns the results of calling key()->hash().
virtual RWClassID
isA() const;
Redefined from class RWCollectable to return __RWCOLLECTABLEASSOCIATION.
virtual RWBoolean
isEqual(const RWCollectable* c) const;
Redefined from class RWCollectable. Returns the results of calling key()->isEqual(c).
RWCollectable*
key() const;
Returns the key part of the association.
RWCollectable*
value() const;
Returns the value part of the association.
RWCollectable*
value(RWCollectable* ct);
Sets the value to ct and returns the old value.