#include <Hash_Map_Manager_T.h>
Inheritance diagram for ACE_Hash_Map_Manager< EXT_ID, INT_ID, ACE_LOCK >:


| Public Member Functions | |
| ACE_Hash_Map_Manager (ACE_Allocator *table_alloc=0, ACE_Allocator *entry_alloc=0) | |
| ACE_Hash_Map_Manager (size_t size, ACE_Allocator *table_alloc=0, ACE_Allocator *entry_alloc=0) | |
| int | equal (const EXT_ID &id1, const EXT_ID &id2) | 
| u_long | hash (const EXT_ID &ext_id) | 
This implementation of a map uses a hash table. This class expects that the contains a method called . In addition, the must support <operator==>. Both of these constraints can be alleviated via template specialization, as shown in the $ACE_ROOT/tests/Conn_Test.cpp test.
Requirements and Performance Characteristics
Definition at line 994 of file Hash_Map_Manager_T.h.
| 
 | ||||||||||||||||
| 
Initialize a  
 Definition at line 1076 of file Hash_Map_Manager_T.inl. 
 01078 : ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK> (table_alloc, 01079 entry_alloc) 01080 { 01081 } | 
| 
 | ||||||||||||||||||||
| 
Initialize a  
 Definition at line 1084 of file Hash_Map_Manager_T.inl. 
 01087 : ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK> (size, 01088 table_alloc, 01089 entry_alloc) 01090 { 01091 } | 
| 
 | ||||||||||||||||
| Returns 1 if == , else 0. This is defined as a separate method to facilitate template specialization. Reimplemented from ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >. Definition at line 1094 of file Hash_Map_Manager_T.inl. 
 01095 {
01096   return ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK>::equal (id1, id2);
01097 }
 | 
| 
 | ||||||||||
| Compute the hash value of the ext_id. This is defined as a separate method to facilitate template specialization. Reimplemented from ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >. Definition at line 1100 of file Hash_Map_Manager_T.inl. 
 01101 {
01102   return ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK>::hash (ext_id);
01103 }
 | 
 1.3.6
 
1.3.6