#include <dictionary.h>
Inheritance diagram for ABA_DICTIONARY< KeyType, ItemType >:

Public Member Functions | |
| void | insert (const KeyType &key, const ItemType &item) |
| ItemType * | lookUp (const KeyType &key) |
Public Attributes | |
| ABA_DICTIONARYABA_GLOBAL * | glob |
| ABA_DICTIONARYABA_GLOBAL int | size |
Private Member Functions | |
| ABA_DICTIONARY (const ABA_DICTIONARY< KeyType, ItemType > &rhs) | |
| const ABA_DICTIONARY & | operator= (const ABA_DICTIONARY< KeyType, ItemType > &rhs) |
Private Attributes | |
| ABA_GLOBAL * | glob_ |
| ABA_HASH< KeyType, ItemType > | hash_ |
Friends | |
| ostream & | operator<< (ostream &out, const ABA_DICTIONARY< KeyType, ItemType > &rhs) |
| The output operator writes the hash table implementing the dictionary on an output stream. | |
Definition at line 47 of file dictionary.h.
| ABA_DICTIONARY< KeyType, ItemType >::ABA_DICTIONARY | ( | const ABA_DICTIONARY< KeyType, ItemType > & | rhs | ) | [private] |
| void ABA_DICTIONARY< KeyType, ItemType >::insert | ( | const KeyType & | key, | |
| const ItemType & | item | |||
| ) |
Adds the item together with a key to the dictionary.
| key | The key of the new item. | |
| item | The new item. |
| ItemType* ABA_DICTIONARY< KeyType, ItemType >::lookUp | ( | const KeyType & | key | ) |
| key | The key of the searched item. |
| const ABA_DICTIONARY& ABA_DICTIONARY< KeyType, ItemType >::operator= | ( | const ABA_DICTIONARY< KeyType, ItemType > & | rhs | ) | [private] |
| ostream& operator<< | ( | ostream & | out, | |
| const ABA_DICTIONARY< KeyType, ItemType > & | rhs | |||
| ) | [friend] |
The output operator writes the hash table implementing the dictionary on an output stream.
| out | The output stream. | |
| rhs | The hash table being output. |
| ABA_DICTIONARYABA_GLOBAL* ABA_DICTIONARY< KeyType, ItemType >::glob |
The constructor.
| glob | A pointer to the corresponding global object. | |
| size | The size of the hash table implementing the dictionary. |
Definition at line 55 of file dictionary.h.
| ABA_DICTIONARYABA_GLOBAL int ABA_DICTIONARY< KeyType, ItemType >::size |
Definition at line 55 of file dictionary.h.
ABA_GLOBAL* ABA_DICTIONARY< KeyType, ItemType >::glob_ [private] |
A pointer to the corresponding global object.
Definition at line 86 of file dictionary.h.
ABA_HASH<KeyType, ItemType> ABA_DICTIONARY< KeyType, ItemType >::hash_ [private] |
The hash table implementing the dictionary.
Definition at line 90 of file dictionary.h.
1.5.1