Tools.h++ Class Reference

Table Of Contents
careful not to insert() a long sequence of sorted items without calling balance() since the
result will be very unbalanced (and therefore inefficient).
virtual RWClassID
isA() const;
Redefined from class RWCollectable to return __RWBINARYTREE.
virtual RWBoolean
isEmpty() const;
Redefined from class RWCollection.
virtual RWBoolean
isEqual(const RWCollectable* a) const;
Inherited from class RWCollectable.
virtual size_t
occurrencesOf(const RWCollectable* target) const;
Redefined from class RWCollection. Returns the number of items that compare equal to
the item pointed to by target.
virtual RWCollectable*
remove(const RWCollectable* target);
Redefined from class RWCollection. Removes the first item that compares equal to the
object pointed to by target and returns it. Returns nil if no item was found.
virtual void
removeAndDestroy(const RWCollectable* target);
Inherited from class RWCollection.
virtual void
restoreGuts(RWvistream&);
virtual void
restoreGuts(RWFile&);
Inherited from class RWCollection.
virtual void
saveGuts(RWvostream&) const;
virtual void
saveGuts(RWFile&) const;
Redefined from class RWCollection to store objects by level, rather than in order. This
results in the tree maintaining its morphology.
RWStringID
stringID();
(acts virtual) Inherited from class RWCollectable.