#include <Hash_Map_Manager_T.h>
Inheritance diagram for ACE_Hash_Map_Manager:


Public Methods | |
| ACE_Hash_Map_Manager (ACE_Allocator *alloc=0) | |
| Initialize a <Hash_Map_Manager> with default size. More... | |
| ACE_Hash_Map_Manager (size_t size, ACE_Allocator *alloc=0) | |
| Initialize a <Hash_Map_Manager> with size <length>. More... | |
| 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 <EXT_ID> contains a method called <hash>. In addition, the <EXT_ID> 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 848 of file Hash_Map_Manager_T.h.
|
||||||||||
|
Initialize a <Hash_Map_Manager> with default size.
Definition at line 859 of file Hash_Map_Manager_T.i.
00860 : ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK> (alloc) 00861 { 00862 } |
|
||||||||||||||||
|
Initialize a <Hash_Map_Manager> with size <length>.
Definition at line 865 of file Hash_Map_Manager_T.i.
00867 : ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK> (size, 00868 alloc) 00869 { 00870 } |
|
||||||||||||||||
|
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 873 of file Hash_Map_Manager_T.i.
00874 {
00875 return ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK>::equal (id1, id2);
00876 }
|
|
||||||||||
|
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 879 of file Hash_Map_Manager_T.i.
00880 {
00881 return ACE_Hash_Map_Manager_Ex<EXT_ID, INT_ID, ACE_Hash<EXT_ID>, ACE_Equal_To<EXT_ID>, ACE_LOCK>::hash (ext_id);
00882 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002