diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-04 06:26:05 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-04 06:26:05 +0000 |
commit | d00967e6a2d0e086e94ff2115aaa175f040ef0c8 (patch) | |
tree | fe5f53eab1457fb5ed8eba88f37a880635a5fd5d /ace/Hash_Map_Manager.cpp | |
parent | cd6c3eae52399813fc64897b16e14100f88e8794 (diff) | |
download | ATCD-d00967e6a2d0e086e94ff2115aaa175f040ef0c8.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Hash_Map_Manager.cpp')
-rw-r--r-- | ace/Hash_Map_Manager.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ace/Hash_Map_Manager.cpp b/ace/Hash_Map_Manager.cpp index 47475036f12..1116cff29dd 100644 --- a/ace/Hash_Map_Manager.cpp +++ b/ace/Hash_Map_Manager.cpp @@ -687,19 +687,6 @@ ACE_Hash_Map_Iterator_Base<EXT_ID, INT_ID, ACE_LOCK>::reverse_i (void) return 1; } -// Resets the iterator, to the beginning or the end depending on the -// head value. -template <class EXT_ID, class INT_ID, class ACE_LOCK> void -ACE_Hash_Map_Iterator_Base<EXT_ID, INT_ID, ACE_LOCK>::reset_i (int head) -{ - index_ = (head != 0 ? -1 : ACE_static_cast (ssize_t, - this->map_man_->total_size_)); - next_ = 0; - ACE_TRACE ("ACE_Hash_Map_Iterator_Base<EXT_ID, INT_ID, ACE_LOCK>::ACE_Hash_Map_Iterator_Base"); - if (this->map_man_->table_ != 0) - this->next_ = &this->map_man_->table_[ (head != 0 ? 0 : this->map_man_->total_size_ - 1 ) ]; -} - template <class EXT_ID, class INT_ID, class ACE_LOCK> ACE_Hash_Map_Entry<EXT_ID, INT_ID>& ACE_Hash_Map_Iterator_Base<EXT_ID, INT_ID, ACE_LOCK>::operator* (void) @@ -767,16 +754,6 @@ ACE_Hash_Map_Iterator<EXT_ID, INT_ID, ACE_LOCK>::advance (void) return this->forward_i (); } -// Resets the iterator to the beginning of the Table. -template <class EXT_ID, class INT_ID, class ACE_LOCK> void -ACE_Hash_Map_Iterator<EXT_ID, INT_ID, ACE_LOCK>::reset (int tail) -{ - ACE_TRACE ("ACE_Hash_Map_Iterator<EXT_ID, INT_ID, ACE_LOCK>::reset"); - this->reset_i (1); - if (tail == 0) - this->forward_i (); -} - template <class EXT_ID, class INT_ID, class ACE_LOCK> ACE_Hash_Map_Iterator<EXT_ID, INT_ID, ACE_LOCK> ACE_Hash_Map_Iterator<EXT_ID, INT_ID, ACE_LOCK>::operator++ (void) @@ -843,15 +820,6 @@ ACE_Hash_Map_Reverse_Iterator<EXT_ID, INT_ID, ACE_LOCK>::advance (void) return this->reverse_i (); } -// Resets the iterator to the end. -template <class EXT_ID, class INT_ID, class ACE_LOCK> void -ACE_Hash_Map_Reverse_Iterator<EXT_ID, INT_ID, ACE_LOCK>::reset (int head) -{ - this->reset_i (head); - if (head == 0) - this->reverse_i (); -} - template <class EXT_ID, class INT_ID, class ACE_LOCK> ACE_Hash_Map_Reverse_Iterator<EXT_ID, INT_ID, ACE_LOCK> ACE_Hash_Map_Reverse_Iterator<EXT_ID, INT_ID, ACE_LOCK>::operator++ (void) |