Use override/default for RTPortableServer
[ACE_TAO.git] / ACE / ace / Hash_Map_With_Allocator_T.inl
blob23214a7c29cb8b9eec6bf7d5e31cb1e07ad8fceb
1 // -*- C++ -*-
3 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 template <class EXT_ID, class INT_ID> ACE_INLINE int
6 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::close (ACE_Allocator *alloc)
8   ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::close");
9   this->table_allocator_ = alloc;
10   this->entry_allocator_ = alloc;
11   return this->close_i ();
14 template <class EXT_ID, class INT_ID>  ACE_INLINE int
15 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::bind (const EXT_ID &ext_id,
16                                                    const INT_ID &int_id,
17                                                    ACE_Allocator *alloc)
19   ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::bind");
20   this->table_allocator_ = alloc;
21   this->entry_allocator_ = alloc;
22   return this->bind_i (ext_id, int_id);
25 template <class EXT_ID, class INT_ID>  ACE_INLINE int
26 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::unbind (const EXT_ID &ext_id,
27                                                      INT_ID &int_id,
28                                                      ACE_Allocator *alloc)
30   ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::unbind");
31   this->table_allocator_ = alloc;
32   this->entry_allocator_ = alloc;
33   return this->unbind_i (ext_id, int_id);
36 template <class EXT_ID, class INT_ID>  ACE_INLINE int
37 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::unbind (const EXT_ID &ext_id,
38                                                      ACE_Allocator *alloc)
40   ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID>::unbind");
41   this->table_allocator_ = alloc;
42   this->entry_allocator_ = alloc;
43   return this->unbind_i (ext_id);
46 template <class EXT_ID, class INT_ID>  ACE_INLINE int
47 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::rebind (const EXT_ID &ext_id,
48                                                      const INT_ID &int_id,
49                                                      EXT_ID &old_ext_id,
50                                                      INT_ID &old_int_id,
51                                                      ACE_Allocator *alloc)
53   ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::rebind");
54   this->table_allocator_ = alloc;
55   this->entry_allocator_ = alloc;
56   return this->rebind_i (ext_id, int_id, old_ext_id, old_int_id);
59 template <class EXT_ID, class INT_ID>  ACE_INLINE int
60 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find (const EXT_ID &ext_id,
61                                                    INT_ID &int_id,
62                                                    ACE_Allocator *alloc)
64   ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find");
65   this->table_allocator_ = alloc;
66   this->entry_allocator_ = alloc;
67   return this->find_i (ext_id, int_id);
70 template <class EXT_ID, class INT_ID>  ACE_INLINE int
71 ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find (const EXT_ID &ext_id,
72                                                    ACE_Allocator *alloc)
74   ACE_TRACE ("ACE_Hash_Map_With_Allocator<EXT_ID, INT_ID>::find");
75   this->table_allocator_ = alloc;
76   this->entry_allocator_ = alloc;
77   return this->find_i (ext_id);
80 ACE_END_VERSIONED_NAMESPACE_DECL