Tools.h++ Class Reference

Table Of Contents
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
RWHashDictionary
RWHashDictionary RWSet RWHashTable ...
...
RWCollection RWCollectable
Synopsis
Description
Persistence
Public Constructors
Public Member Operators
Public Member Functions
Synopsis
typedef RWHashDictionary Dictionary; // Smalltalk typedef.
#include <rw/hashdict.h>
RWHashDictionary a ;
Description
An RWHashDictionary represents a group of unordered values, accessible by external keys.
Duplicate keys are not allowed. RWHashDictionary is implemented as a hash table of
associations of keys and values. Both the key and the value must inherit from the abstract base
class RWCollectable, with a suitable definition of the virtual function hash() and isEqual() for
the key.
This class corresponds to the Smalltalk class Dictionary.
Persistence
None