Tools.h++ Manual

104011 Tandem Computers Incorporated 21-117
21
Public member operators
void operator=(const
RWHashDictionary& hd);
Assignment operator. A shallow copy of the collection
hd
is made.
RWBoolean operator<=(const
RWHashDictionary& hd) const;
Returns
TRUE
if for every key-value pair in self, there is a corresponding key in
hd
that
isEqual
. Their corresponding values must also be equal.
RWBoolean operator==(const
RWHashDictionary& hd) const;
Returns
TRUE
if self and
hd
have the same number of entries and if for every
key-value pair in self, there is a corresponding key in
hd
that
isEqual
. Their
corresponding values must also be equal.
void applyToKeyAndValue(RWapplyKeyAndValue
ap, void*)
Applies the user-supplied function pointed to by
ap
to each key-value pair of
the collection. Items are not visited in any particular order.
virtual RWspace binaryStoreSize() const;
Inherited from class
RWCollection
.
virtual void clear();
Redefined from class
RWCollection
. Removes all key-value pairs in the
collection.
virtual void clearAndDestroy();
Redefined from class
RWCollection
. Removes all key-value pairs in the
collection, and deletes the key and the value.
virtual int compareTo(const RWCollectable*
a) const;
Inherited from class
RWCollectable
.
virtual RWBoolean contains(const RWCollectable*
target) const;
Inherited from class
RWCollection
.
virtual size_t entries() const;
Inherited from class
RWSet
.