Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Map_Manager_Reverse_Iterator_Adapter Class Template Reference

Defines a reverse iterator implementation for the Map Manager. More...

#include <Map_T.h>

Inheritance diagram for ACE_Map_Manager_Reverse_Iterator_Adapter:

Inheritance graph
[legend]
Collaboration diagram for ACE_Map_Manager_Reverse_Iterator_Adapter:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_TYPENAME ACE_Map_Manager<
KEY, VALUE, ACE_Null_Mutex
>::reverse_iterator 
implementation

Public Methods

 ACE_Map_Manager_Reverse_Iterator_Adapter (const ACE_Map_Reverse_Iterator< KEY, VALUE, ACE_Null_Mutex > &impl)
 Constructor. More...

virtual ~ACE_Map_Manager_Reverse_Iterator_Adapter (void)
 Destructor. More...

virtual ACE_Reverse_Iterator_Impl<
T > * 
clone (void) const
 Clone. More...

virtual int compare (const ACE_Reverse_Iterator_Impl< T > &rhs) const
 Comparison. More...

virtual T dereference (void) const
 Dereference. More...

virtual void plus_plus (void)
 Advance. More...

virtual void minus_minus (void)
 Reverse. More...

ACE_Map_Reverse_Iterator<
KEY, VALUE, ACE_Null_Mutex > & 
impl (void)
 Accessor to implementation object. More...


Protected Attributes

ACE_Map_Reverse_Iterator<
KEY, VALUE, ACE_Null_Mutex
implementation_
 All implementation details are forwarded to this class. More...


Detailed Description

template<class T, class KEY, class VALUE>
class ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >

Defines a reverse iterator implementation for the Map Manager.

Implementation to be provided by ACE_Map_Manager::reverse_iterator.

Definition at line 1356 of file Map_T.h.


Member Typedef Documentation

template<class T, class KEY, class VALUE>
typedef ACE_TYPENAME ACE_Map_Manager<KEY, VALUE, ACE_Null_Mutex>::reverse_iterator ACE_Map_Manager_Reverse_Iterator_Adapter::implementation
 

Definition at line 1362 of file Map_T.h.


Constructor & Destructor Documentation

template<class T, class KEY, class VALUE>
ACE_INLINE ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::ACE_Map_Manager_Reverse_Iterator_Adapter const ACE_Map_Reverse_Iterator< KEY, VALUE, ACE_Null_Mutex > &    impl
 

Constructor.

Definition at line 1443 of file Map_T.i.

01444   : implementation_ (impl)
01445 {
01446 }

template<class T, class KEY, class VALUE>
ACE_INLINE ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::~ACE_Map_Manager_Reverse_Iterator_Adapter void    [virtual]
 

Destructor.

Definition at line 1449 of file Map_T.i.

01450 {
01451 }


Member Function Documentation

template<class T, class KEY, class VALUE>
ACE_INLINE ACE_Reverse_Iterator_Impl< T > * ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::clone void    const [virtual]
 

Clone.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1454 of file Map_T.i.

References ACE_NEW_RETURN.

01455 {
01456   ACE_Reverse_Iterator_Impl<T> *temp = 0;
01457   ACE_NEW_RETURN (temp,
01458                   (ACE_Map_Manager_Reverse_Iterator_Adapter<T, KEY, VALUE>) (*this),
01459                   0);
01460   return temp;
01461 }

template<class T, class KEY, class VALUE>
ACE_INLINE int ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::compare const ACE_Reverse_Iterator_Impl< T > &    rhs const [virtual]
 

Comparison.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1465 of file Map_T.i.

References implementation_.

01466 {
01467   const ACE_Map_Manager_Reverse_Iterator_Adapter<T, KEY, VALUE> &rhs_local
01468     = ACE_dynamic_cast_3_ref (const ACE_Map_Manager_Reverse_Iterator_Adapter, T, KEY, VALUE, rhs);
01469 
01470   return this->implementation_ == rhs_local.implementation_;
01471 }

template<class T, class KEY, class VALUE>
ACE_INLINE T ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::dereference void    const [virtual]
 

Dereference.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1474 of file Map_T.i.

01475 {
01476   // The following syntax is necessary to work around certain broken compilers.
01477   // In particular, please do not prefix implementation_ with this->
01478   return T ((*implementation_).ext_id_,
01479             (*implementation_).int_id_);
01480 }

template<class T, class KEY, class VALUE>
ACE_INLINE ACE_Map_Reverse_Iterator< KEY, VALUE, ACE_Null_Mutex > & ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::impl void   
 

Accessor to implementation object.

Definition at line 1495 of file Map_T.i.

References implementation_.

01496 {
01497   return this->implementation_;
01498 }

template<class T, class KEY, class VALUE>
ACE_INLINE void ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::minus_minus void    [virtual]
 

Reverse.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1489 of file Map_T.i.

References implementation_.

01490 {
01491   --this->implementation_;
01492 }

template<class T, class KEY, class VALUE>
ACE_INLINE void ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::plus_plus void    [virtual]
 

Advance.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1483 of file Map_T.i.

References implementation_.

01484 {
01485   ++this->implementation_;
01486 }


Member Data Documentation

template<class T, class KEY, class VALUE>
ACE_Map_Reverse_Iterator<KEY, VALUE, ACE_Null_Mutex> ACE_Map_Manager_Reverse_Iterator_Adapter::implementation_ [protected]
 

All implementation details are forwarded to this class.

Definition at line 1391 of file Map_T.h.

Referenced by compare, impl, minus_minus, and plus_plus.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:50:12 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002