Defines a iterator implementation for the Map_Impl class. More...
#include <Map_T.h>


Public Types | |
| typedef IMPLEMENTATION | implementation |
Public Member Functions | |
| ACE_Map_Impl_Iterator_Adapter (const IMPLEMENTATION &impl) | |
| Constructor. | |
| virtual | ~ACE_Map_Impl_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. | |
| IMPLEMENTATION & | impl (void) |
| Accessor to implementation object. | |
Protected Attributes | |
| IMPLEMENTATION | implementation_ |
| All implementation details are forwarded to this class. | |
Defines a iterator implementation for the Map_Impl class.
Implementation to be provided by <IMPLEMENTATION>.
Definition at line 455 of file Map_T.h.
| typedef IMPLEMENTATION ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::implementation |
| ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::ACE_Map_Impl_Iterator_Adapter | ( | const IMPLEMENTATION & | impl | ) | [inline] |
| ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::~ACE_Map_Impl_Iterator_Adapter | ( | void | ) | [virtual] |
| ACE_Iterator_Impl< T > * ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::clone | ( | void | ) | const [virtual] |
Clone.
Implements ACE_Iterator_Impl< T >.
Definition at line 40 of file Map_T.cpp.
{
ACE_Iterator_Impl<T> *temp = 0;
ACE_NEW_RETURN (temp,
(ACE_Map_Impl_Iterator_Adapter<T, IMPLEMENTATION, ENTRY>) (*this),
0);
return temp;
}
| int ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::compare | ( | const ACE_Iterator_Impl< T > & | rhs | ) | const [virtual] |
Comparison.
Implements ACE_Iterator_Impl< T >.
Definition at line 50 of file Map_T.cpp.
{
const ACE_Map_Impl_Iterator_Adapter<T, IMPLEMENTATION, ENTRY> &rhs_local
= dynamic_cast<const ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY> &> (rhs);
return this->implementation_ == rhs_local.implementation_;
}
| T ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::dereference | ( | void | ) | const [virtual] |
Dereference.
Implements ACE_Iterator_Impl< T >.
Definition at line 59 of file Map_T.cpp.
{
ENTRY &entry = *this->implementation_;
return T (entry.ext_id_,
entry.int_id_);
}
| IMPLEMENTATION & ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::impl | ( | void | ) | [inline] |
Accessor to implementation object.
Definition at line 228 of file Map_T.inl.
{
return this->implementation_;
}
| void ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::minus_minus | ( | void | ) | [virtual] |
Reverse.
Implements ACE_Iterator_Impl< T >.
Definition at line 73 of file Map_T.cpp.
{
--this->implementation_;
}
| void ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::plus_plus | ( | void | ) | [virtual] |
Advance.
Implements ACE_Iterator_Impl< T >.
Definition at line 67 of file Map_T.cpp.
{
++this->implementation_;
}
IMPLEMENTATION ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::implementation_ [protected] |
1.7.0