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

ACE_Active_Map_Manager_Reverse_Iterator_Adapter Class Template Reference

Defines a reverse iterator implementation for the Active_Map_Manager_Adapter. More...

#include <Map_T.h>

Inheritance diagram for ACE_Active_Map_Manager_Reverse_Iterator_Adapter:

Inheritance graph
[legend]
Collaboration diagram for ACE_Active_Map_Manager_Reverse_Iterator_Adapter:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_TYPENAME ACE_Active_Map_Manager<
VALUE >::reverse_iterator 
implementation

Public Methods

 ACE_Active_Map_Manager_Reverse_Iterator_Adapter (const ACE_Map_Reverse_Iterator< ACE_Active_Map_Manager_Key, VALUE, ACE_Null_Mutex > &impl)
 Constructor. More...

virtual ~ACE_Active_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<
ACE_Active_Map_Manager_Key,
VALUE, ACE_Null_Mutex > & 
impl (void)
 Accessor to implementation object. More...


Protected Attributes

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


Detailed Description

template<class T, class VALUE>
class ACE_Active_Map_Manager_Reverse_Iterator_Adapter< T, VALUE >

Defines a reverse iterator implementation for the Active_Map_Manager_Adapter.

Implementation to be provided by ACE_Active_Map_Manager::reverse_iterator.

Definition at line 774 of file Map_T.h.


Member Typedef Documentation

template<class T, class VALUE>
typedef ACE_TYPENAME ACE_Active_Map_Manager<VALUE>::reverse_iterator ACE_Active_Map_Manager_Reverse_Iterator_Adapter::implementation
 

Definition at line 780 of file Map_T.h.


Constructor & Destructor Documentation

template<class T, class VALUE>
ACE_INLINE ACE_Active_Map_Manager_Reverse_Iterator_Adapter< T, VALUE >::ACE_Active_Map_Manager_Reverse_Iterator_Adapter const ACE_Map_Reverse_Iterator< ACE_Active_Map_Manager_Key, VALUE, ACE_Null_Mutex > &    impl
 

Constructor.

Definition at line 612 of file Map_T.i.

00613   : implementation_ (impl)
00614 {
00615 }

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

Destructor.

Definition at line 618 of file Map_T.i.

00619 {
00620 }


Member Function Documentation

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

Clone.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 623 of file Map_T.i.

References ACE_NEW_RETURN.

00624 {
00625   ACE_Reverse_Iterator_Impl<T> *temp = 0;
00626   ACE_NEW_RETURN (temp,
00627                   (ACE_Active_Map_Manager_Reverse_Iterator_Adapter<T, VALUE>) (*this),
00628                   0);
00629   return temp;
00630 }

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

Comparison.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 634 of file Map_T.i.

References implementation_.

00635 {
00636   const ACE_Active_Map_Manager_Reverse_Iterator_Adapter<T, VALUE> &rhs_local
00637     = ACE_dynamic_cast_2_ref (const ACE_Active_Map_Manager_Reverse_Iterator_Adapter, T, VALUE, rhs);
00638 
00639   return this->implementation_ == rhs_local.implementation_;
00640 }

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

Dereference.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 643 of file Map_T.i.

00644 {
00645   // The following syntax is necessary to work around certain broken compilers.
00646   // In particular, please do not prefix implementation_ with this->
00647   return T ((*implementation_).int_id_.first (),
00648             (*implementation_).int_id_.second ());
00649 }

template<class T, class VALUE>
ACE_INLINE ACE_Map_Reverse_Iterator< ACE_Active_Map_Manager_Key, VALUE, ACE_Null_Mutex > & ACE_Active_Map_Manager_Reverse_Iterator_Adapter< T, VALUE >::impl void   
 

Accessor to implementation object.

Definition at line 664 of file Map_T.i.

References implementation_.

00665 {
00666   return this->implementation_;
00667 }

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

Reverse.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 658 of file Map_T.i.

References implementation_.

00659 {
00660   --this->implementation_;
00661 }

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

Advance.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 652 of file Map_T.i.

References implementation_.

00653 {
00654   ++this->implementation_;
00655 }


Member Data Documentation

template<class T, class VALUE>
ACE_Map_Reverse_Iterator<ACE_Active_Map_Manager_Key, VALUE, ACE_Null_Mutex> ACE_Active_Map_Manager_Reverse_Iterator_Adapter::implementation_ [protected]
 

All implementation details are forwarded to this class.

Definition at line 809 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:44:41 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002