Tools.h++ Class Reference

Table Of Contents
Returns the number of associations a in self such that the expression((*fn)(a,d)) is true. fn
points to a user-defined tester function which must have prototype:
bool yourTester(value_type a, void* d);
Client data may be passed through parameter d.
K*
remove(const K* key);
Removes the first association with key j in self such that the expression (*j == *key) is true
and returns j. Returns rwnil if there is no such association.
K*
remove(bool (*fn)(value_type,void*), void* d);
Removes the first association a in self such that the expression ((*fn)(a,d)) is true and returns
its key. Returns rwnil if there is no such association. fn points to a user-defined tester
function which must have prototype:
bool yourTester(value_type a, void* d);
Client data may be passed through parameter d.
size_type
removeAll(const K* key);
Removes all associations with key j in self that compare equal to *key. Returns the number of
associations removed.
size_type
removeAll(bool (*fn)(value_type,void*), void* d);
Removes all associations a in self such that the expression ((*fn)(a,d))is true. Returns the
number removed. fn points to a user-defined tester function which must have prototype:
bool yourTester(value_type a, void* d);
Client data may be passed through parameter d.
container_type&
std();
const container_type&
std() const;
Returns a reference to the underlying C++-standard collection that serves as the
implementation for self.
Related Global Operators
RWvostream&
operator<<(RWvostream& strm,
const RWTPtrMultiMap<K,T,C>& coll);
RWFile&
operator<<(RWFile& strm,