Defines the iterator interface. More...
#include <Map_T.h>
Public Types | |
typedef T | value_type |
typedef ACE_Iterator_Impl< T > | implementation |
Public Member Functions | |
ACE_Iterator (ACE_Iterator_Impl< T > *impl) | |
Constructor. | |
ACE_Iterator (const ACE_Iterator< T > &rhs) | |
Copy constructor. | |
~ACE_Iterator (void) | |
Destructor. | |
ACE_Iterator< T > & | operator= (const ACE_Iterator< T > &rhs) |
Assignment operator. | |
bool | operator== (const ACE_Iterator< T > &rhs) const |
Comparison operators. | |
bool | operator!= (const ACE_Iterator< T > &rhs) const |
T | operator* () const |
Dereference operator. | |
ACE_Iterator< T > & | operator++ (void) |
Prefix advance. | |
ACE_Iterator< T > | operator++ (int) |
Postfix advance. | |
ACE_Iterator< T > & | operator-- (void) |
Prefix reverse. | |
ACE_Iterator< T > | operator-- (int) |
Postfix reverse. | |
ACE_Iterator_Impl< T > & | impl (void) |
Accessor to implementation object. | |
Protected Attributes | |
ACE_Iterator_Impl< T > * | implementation_ |
Implementation pointer. |
Defines the iterator interface.
Implementation to be provided by forwarding.
Definition at line 145 of file Map_T.h.
typedef ACE_Iterator_Impl<T> ACE_Iterator< T >::implementation |
typedef T ACE_Iterator< T >::value_type |
ACE_Iterator< T >::ACE_Iterator | ( | ACE_Iterator_Impl< T > * | impl | ) | [inline] |
ACE_Iterator< T >::ACE_Iterator | ( | const ACE_Iterator< T > & | rhs | ) | [inline] |
Copy constructor.
Definition at line 39 of file Map_T.inl.
: implementation_ (rhs.implementation_->clone ()) { }
ACE_Iterator< T >::~ACE_Iterator | ( | void | ) | [inline] |
ACE_Iterator_Impl< T > & ACE_Iterator< T >::impl | ( | void | ) | [inline] |
Accessor to implementation object.
Definition at line 107 of file Map_T.inl.
{ return *this->implementation_; }
bool ACE_Iterator< T >::operator!= | ( | const ACE_Iterator< T > & | rhs | ) | const [inline] |
Definition at line 65 of file Map_T.inl.
{ return !this->operator== (rhs); }
T ACE_Iterator< T >::operator* | ( | void | ) | const [inline] |
Dereference operator.
Definition at line 71 of file Map_T.inl.
{ return this->implementation_->dereference (); }
ACE_Iterator< T > & ACE_Iterator< T >::operator++ | ( | void | ) | [inline] |
Prefix advance.
Definition at line 77 of file Map_T.inl.
{ this->implementation_->plus_plus (); return *this; }
ACE_Iterator< T > ACE_Iterator< T >::operator++ | ( | int | ) | [inline] |
Postfix advance.
Definition at line 84 of file Map_T.inl.
{ ACE_Iterator<T> tmp = *this; this->implementation_->plus_plus (); return tmp; }
ACE_Iterator< T > & ACE_Iterator< T >::operator-- | ( | void | ) | [inline] |
Prefix reverse.
Definition at line 92 of file Map_T.inl.
{ this->implementation_->minus_minus (); return *this; }
ACE_Iterator< T > ACE_Iterator< T >::operator-- | ( | int | ) | [inline] |
Postfix reverse.
Definition at line 99 of file Map_T.inl.
{ ACE_Iterator<T> tmp = *this; this->implementation_->minus_minus (); return tmp; }
ACE_Iterator< T > & ACE_Iterator< T >::operator= | ( | const ACE_Iterator< T > & | rhs | ) | [inline] |
Assignment operator.
Definition at line 51 of file Map_T.inl.
{ delete this->implementation_; this->implementation_ = rhs.implementation_->clone (); return *this; }
bool ACE_Iterator< T >::operator== | ( | const ACE_Iterator< T > & | rhs | ) | const [inline] |
Comparison operators.
Definition at line 59 of file Map_T.inl.
{ return this->implementation_->compare (*rhs.implementation_); }
ACE_Iterator_Impl<T>* ACE_Iterator< T >::implementation_ [protected] |