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