Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
Return to the Appendix home page.
©Copyright 1996 Rogue Wave Software
RWTValHashSet<T>
Alternate template: Standard C++ Library not required
RWTValHashSet<T> RWTValHashTable<T>
Synopsis
Please Note!
Description
Persistence
Example
Public Member Functions
Synopsis
#include <rw/tvhset.h>
unsigned hashFun(const T&);
RWTValHashSet(hashFun) set;
Please Note!
If you do not have the Standard C++ Library, use the interface described here. Otherwise, use the
interface to RWTValHashSet described in the Class Reference.
Description
RWTValHashSet<T> is a derived class of RWTValHashTable<T> where the insert() function has been
overridden to accept only one item of a given value. Hence, each item in the collection will be unique.
As with class RWTValHashTable<T>, you must supply a hashing function to the constructor.