#include <Map_T.h>
Inheritance diagram for ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >:
Public Types | |
typedef ACE_Map_Manager< KEY, VALUE, ACE_Null_Mutex >::iterator | implementation |
Public Member Functions | |
ACE_Map_Manager_Iterator_Adapter (const ACE_Map_Iterator< KEY, VALUE, ACE_Null_Mutex > &impl) | |
Constructor. | |
virtual | ~ACE_Map_Manager_Iterator_Adapter (void) |
Destructor. | |
virtual ACE_Iterator_Impl< T > * | clone (void) const |
Clone. | |
virtual int | compare (const ACE_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_Map_Iterator< KEY, VALUE, ACE_Null_Mutex > & | impl (void) |
Accessor to implementation object. | |
Protected Attributes | |
ACE_Map_Iterator< KEY, VALUE, ACE_Null_Mutex > | implementation_ |
All implementation details are forwarded to this class. |
Implementation to be provided by ACE_Map_Manager::iterator.
Definition at line 1318 of file Map_T.h.
typedef ACE_Map_Manager<KEY, VALUE, ACE_Null_Mutex>::iterator ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::implementation |
ACE_INLINE ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::ACE_Map_Manager_Iterator_Adapter | ( | const ACE_Map_Iterator< KEY, VALUE, ACE_Null_Mutex > & | impl | ) |
Constructor.
Definition at line 366 of file Map_T.inl.
00367 : implementation_ (impl) 00368 { 00369 }
ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::~ACE_Map_Manager_Iterator_Adapter | ( | void | ) | [virtual] |
ACE_Iterator_Impl< T > * ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::clone | ( | void | ) | const [virtual] |
Clone.
Implements ACE_Iterator_Impl< T >.
Definition at line 1054 of file Map_T.cpp.
References ACE_NEW_RETURN.
01055 { 01056 ACE_Iterator_Impl<T> *temp = 0; 01057 ACE_NEW_RETURN (temp, 01058 (ACE_Map_Manager_Iterator_Adapter<T, KEY, VALUE>) (*this), 01059 0); 01060 return temp; 01061 }
int ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::compare | ( | const ACE_Iterator_Impl< T > & | rhs | ) | const [virtual] |
Comparison.
Implements ACE_Iterator_Impl< T >.
Definition at line 1065 of file Map_T.cpp.
References ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::implementation_.
01066 { 01067 const ACE_Map_Manager_Iterator_Adapter<T, KEY, VALUE> &rhs_local 01068 = dynamic_cast<const ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE> &> (rhs); 01069 01070 return this->implementation_ == rhs_local.implementation_; 01071 }
T ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::dereference | ( | void | ) | const [virtual] |
Dereference.
Implements ACE_Iterator_Impl< T >.
Definition at line 1074 of file Map_T.cpp.
01075 { 01076 // The following syntax is necessary to work around certain broken compilers. 01077 // In particular, please do not prefix implementation_ with this-> 01078 return T ((*implementation_).ext_id_, 01079 (*implementation_).int_id_); 01080 }
ACE_INLINE ACE_Map_Iterator< KEY, VALUE, ACE_Null_Mutex > & ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::impl | ( | void | ) |
Accessor to implementation object.
Definition at line 372 of file Map_T.inl.
References ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::implementation_.
00373 { 00374 return this->implementation_; 00375 }
void ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::minus_minus | ( | void | ) | [virtual] |
Reverse.
Implements ACE_Iterator_Impl< T >.
Definition at line 1089 of file Map_T.cpp.
References ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::implementation_.
01090 { 01091 --this->implementation_; 01092 }
void ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::plus_plus | ( | void | ) | [virtual] |
Advance.
Implements ACE_Iterator_Impl< T >.
Definition at line 1083 of file Map_T.cpp.
References ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::implementation_.
01084 { 01085 ++this->implementation_; 01086 }
ACE_Map_Iterator<KEY, VALUE, ACE_Null_Mutex> ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::implementation_ [protected] |
All implementation details are forwarded to this class.
Definition at line 1353 of file Map_T.h.
Referenced by ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::compare(), ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::impl(), ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::minus_minus(), and ACE_Map_Manager_Iterator_Adapter< T, KEY, VALUE >::plus_plus().