#include <Key_Adapters.h>
Public Member Functions | |
u_long | operator() (const PortableServer::ObjectId &id) const |
Returns hash value. |
Define the hash() method for Object Ids.
Definition at line 63 of file Key_Adapters.h.
u_long TAO_ObjectId_Hash::operator() | ( | const PortableServer::ObjectId & | id | ) | const |
Returns hash value.
Definition at line 40 of file Key_Adapters.cpp.
References ACE::hash_pjw().
00041 { 00042 return ACE::hash_pjw ((const char *) id.get_buffer (), 00043 id.length ()); 00044 }