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
RWTValHashTable<T>
Alternate template: Standard C++ Library not required
Synopsis
Please Note!
Description
Persistence
Example
Public Constructors
Public Operators
Public Member Functions
Synopsis
#include <rw/tvhasht.h>
unsigned hashFun(const T&);
RWTValHashTable<T> table(hashFun);
Please Note!
If you do not have the Standard C++ Library, use the interface described here. Otherwise, use the
interface to RWTValHashMultiSet described in the Class Reference.
Description
This class implements a parameterized hash table of types T. It uses chaining to resolve hash collisions.
Duplicates are allowed.
It is a value based collection: objects are copied in and out of the hash buckets.
Parameter T represents the type of object to be inserted into the table, either a class or fundamental