Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWTValHashMultiSet<T,H,EQ>
Synopsis
Please Note!
Description
Persistence
Example
Related Classes
Public Typedefs
Public Constructors
Public Member Operators
Public Member Functions
Related Global Operators
Synopsis
#include <rw/tvhasht.h>
RWTValHashMultiSet<T,H,EQ>
Please Note!
If you have the Standard C++ Library, use the interface described here. Otherwise, use the interface for
RWTValHashTable described in Appendix A.
Description
This class maintains a collection of values, which are stored according to a hash object of type H. H must offer a hash
function for elements of type T via a public member
unsigned long operator()(const T& x) const
Objects within the collection will be grouped together based on an equality object of type EQ. EQ must ensure this grouping
via public member
bool operator()(const T& x, const T& y) const
which should return true if x and y are equivalent, false otherwise.
RWTValHashMultiSet<T,H,EQ> may contain multiple items that compare equal to each other. (RWTValHashSet<T,H,EQ>
will not accept an item that compares equal to an item already in the collection.)