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
RWTPtrHashDictionary<K,V>
Alternate template: Standard C++ Library not required
Synopsis
Please Note!
Description
Persistence
Example
Public Constructors
Public Operators
Public Member Functions
Synopsis
#include <rw/tphdict.h>
unsigned hashFun(const K&);
RWTPtrHashDictionary<K,V> dictionary(hashFun);
Please Note!
If you do not have the Standard C++ Library, use the interface described here. Otherwise, use the
interface to RWTPtrHashMap described in the Class Reference.
Description
RWTPtrHashDictionary<K,V> is a dictionary of keys of type K and values of type V, implemented
using a hash table. While duplicates of values are allowed, duplicates of keys are not.
It is a pointer based collection: pointers to the keys and values are copied in and out of the hash
buckets.