Tools.h++ Manual

104011 Tandem Computers Incorporated 21-163
21
Public member operators
void operator=(const RWSet& h);
Assignment operator. Makes a shallow copy of the collection
h
.
RWBoolean operator==(const RWSet& h);
Returns
TRUE
if self and
h
have the same number of elements and if for every
key in self there is a corresponding key in
h
which isEqual.
RWBoolean operator!=(const RWSet& h);
Returns the negation of
operator==()
, above.
RWBoolean operator<=(const RWSet& h);
Returns
TRUE
if self is a subset of
h
, that is, every element of self has a
counterpart in
h
which isEqual.
Public member functions
virtual voidapply(RWapplyCollectable ap,
void*)
Redefined from class
RWCollection
to apply the user-supplied function
pointed to by
ap
to each member of the collection in a (generally)
unpredictable order. This supplied function should not do anything to the
items that could change the ordering of the collection.
virtual RWspace binaryStoreSize() const;
Inherited from class
RWCollection
.
virtual void clear();
Redefined from class
RWCollection
.
virtual void clearAndDestroy();
Inherited from class
RWCollection
.
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;
Redefined from class
RWCollection
.