Defines a reverse iterator implementation for the Hash_Map_Manager_Adapter. More...
#include <Map_T.h>


Public Types | |
| typedef ACE_Hash_Map_Manager_Ex< KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > ::reverse_iterator | implementation |
Public Member Functions | |
| ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter (const ACE_Hash_Map_Reverse_Iterator_Ex< KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > &impl) | |
| Constructor. | |
| virtual | ~ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter (void) |
| Destructor. | |
| virtual ACE_Reverse_Iterator_Impl< T > * | clone (void) const |
| Clone. | |
| virtual int | compare (const ACE_Reverse_Iterator_Impl< T > &rhs) const |
| Comparison. | |
| virtual T | dereference (void) const |
| Dereference. | |
| virtual void | plus_plus (void) |
| Advance. | |
| virtual void | minus_minus (void) |
| Reverse. | |
| ACE_Hash_Map_Reverse_Iterator_Ex < KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > & | impl (void) |
| Accessor to implementation object. | |
Protected Attributes | |
| ACE_Hash_Map_Reverse_Iterator_Ex < KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > | implementation_ |
| All implementation details are forwarded to this class. | |
Defines a reverse iterator implementation for the Hash_Map_Manager_Adapter.
Implementation to be provided by ACE_Hash_Map_Manager_Ex::reverse_iterator.
Definition at line 1078 of file Map_T.h.
| typedef ACE_Hash_Map_Manager_Ex<KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex>::reverse_iterator ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::implementation |
| ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter | ( | const ACE_Hash_Map_Reverse_Iterator_Ex< KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > & | impl | ) | [inline] |
| ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::~ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter | ( | void | ) | [virtual] |
| ACE_Reverse_Iterator_Impl< T > * ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::clone | ( | void | ) | const [virtual] |
Clone.
Implements ACE_Reverse_Iterator_Impl< T >.
Definition at line 807 of file Map_T.cpp.
{
ACE_Reverse_Iterator_Impl<T> *temp = 0;
ACE_NEW_RETURN (temp,
(ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter<T, KEY, VALUE, HASH_KEY, COMPARE_KEYS>) (*this),
0);
return temp;
}
| int ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::compare | ( | const ACE_Reverse_Iterator_Impl< T > & | rhs | ) | const [virtual] |
Comparison.
Implements ACE_Reverse_Iterator_Impl< T >.
Definition at line 818 of file Map_T.cpp.
{
const ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter<T, KEY, VALUE, HASH_KEY, COMPARE_KEYS> &rhs_local
= dynamic_cast<const ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS> &> (rhs);
return this->implementation_ == rhs_local.implementation_;
}
| T ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::dereference | ( | void | ) | const [virtual] |
Dereference.
Implements ACE_Reverse_Iterator_Impl< T >.
Definition at line 827 of file Map_T.cpp.
{
// The following syntax is necessary to work around certain broken compilers.
// In particular, please do not prefix implementation_ with this->
return T ((*implementation_).ext_id_,
(*implementation_).int_id_);
}
| ACE_Hash_Map_Reverse_Iterator_Ex< KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > & ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::impl | ( | void | ) | [inline] |
Accessor to implementation object.
Definition at line 334 of file Map_T.inl.
{
return this->implementation_;
}
| void ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::minus_minus | ( | void | ) | [virtual] |
Reverse.
Implements ACE_Reverse_Iterator_Impl< T >.
Definition at line 842 of file Map_T.cpp.
{
--this->implementation_;
}
| void ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::plus_plus | ( | void | ) | [virtual] |
Advance.
Implements ACE_Reverse_Iterator_Impl< T >.
Definition at line 836 of file Map_T.cpp.
{
++this->implementation_;
}
ACE_Hash_Map_Reverse_Iterator_Ex<KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex> ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::implementation_ [protected] |
1.7.0