Tools.h++ Class Reference

Table Of Contents
Returns the ith element in the collection. If i is out of range, an exception of type
RWBoundsErr will be thrown. The return value cannot be used as an lvalue.
const RWCollectable*
operator()(size_t i);
Returns the ith element in the collection. Bounds checking is enabled by defining the
preprocessor directive RWBOUNDS_CHECK before including the header file
"rwsortvec.h". In this case, if i is out of range, an exception of type RWBoundsErr will be
thrown. The return value cannot be used as an lvalue.
Public Member Functions
virtual void
apply(RWapplyCollectable ap, void* x);
Inherited from class RWOrdered.
virtual const RWCollectable*
at(size_t i) const;
Inherited from class RWOrdered.
virtual RWspace
binaryStoreSize() const;
Inherited from class RWCollection.
virtual void
clear();
Inherited from class RWOrdered.
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;
Inherited from class RWOrdered.
virtual RWCollectable*
find(const RWCollectable* target) const;