00001
00002
00003
00004
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006
00007 template <class EXT_ID, class INT_ID> ACE_INLINE int
00008 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::close (ACE_Allocator *alloc)
00009 {
00010 ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::close");
00011 this->table_allocator_ = alloc;
00012 this->entry_allocator_ = alloc;
00013 return this->close_i ();
00014 }
00015
00016 template <class EXT_ID, class INT_ID> ACE_INLINE int
00017 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::bind (const EXT_ID &ext_id,
00018 const INT_ID &int_id,
00019 ACE_Allocator *alloc)
00020 {
00021 ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::bind");
00022 this->table_allocator_ = alloc;
00023 this->entry_allocator_ = alloc;
00024 return this->bind_i (ext_id, int_id);
00025 }
00026
00027 template <class EXT_ID, class INT_ID> ACE_INLINE int
00028 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::unbind (const EXT_ID &ext_id,
00029 INT_ID &int_id,
00030 ACE_Allocator *alloc)
00031 {
00032 ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::unbind");
00033 this->table_allocator_ = alloc;
00034 this->entry_allocator_ = alloc;
00035 return this->unbind_i (ext_id, int_id);
00036 }
00037
00038 template <class EXT_ID, class INT_ID> ACE_INLINE int
00039 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::unbind (const EXT_ID &ext_id,
00040 ACE_Allocator *alloc)
00041 {
00042 ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID>::unbind");
00043 this->table_allocator_ = alloc;
00044 this->entry_allocator_ = alloc;
00045 return this->unbind_i (ext_id);
00046 }
00047
00048 template <class EXT_ID, class INT_ID> ACE_INLINE int
00049 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::rebind (const EXT_ID &ext_id,
00050 const INT_ID &int_id,
00051 EXT_ID &old_ext_id,
00052 INT_ID &old_int_id,
00053 ACE_Allocator *alloc)
00054 {
00055 ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::rebind");
00056 this->table_allocator_ = alloc;
00057 this->entry_allocator_ = alloc;
00058 return this->rebind_i (ext_id, int_id, old_ext_id, old_int_id);
00059 }
00060
00061 template <class EXT_ID, class INT_ID> ACE_INLINE int
00062 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find (const EXT_ID &ext_id,
00063 INT_ID &int_id,
00064 ACE_Allocator *alloc)
00065 {
00066 ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find");
00067 this->table_allocator_ = alloc;
00068 this->entry_allocator_ = alloc;
00069 return this->find_i (ext_id, int_id);
00070 }
00071
00072 template <class EXT_ID, class INT_ID> ACE_INLINE int
00073 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find (const EXT_ID &ext_id,
00074 ACE_Allocator *alloc)
00075 {
00076 ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find");
00077 this->table_allocator_ = alloc;
00078 this->entry_allocator_ = alloc;
00079 return this->find_i (ext_id);
00080 }
00081
00082 ACE_END_VERSIONED_NAMESPACE_DECL