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

ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter Class Template Reference

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

#include <Map_T.h>

Inheritance diagram for ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter:

Inheritance graph
[legend]
Collaboration diagram for ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_TYPENAME ACE_Hash_Map_Manager_Ex<
KEY, VALUE, HASH_KEY, COMPARE_KEYS,
ACE_Null_Mutex >::reverse_iterator 
implementation

Public Methods

 ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter (const ACE_Hash_Map_Reverse_Iterator_Ex< KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > &impl)
 Constructor. More...

virtual ~ACE_Hash_Map_Manager_Ex_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_Hash_Map_Reverse_Iterator_Ex<
KEY, VALUE, HASH_KEY, COMPARE_KEYS,
ACE_Null_Mutex > & 
impl (void)
 Accessor to implementation object. More...


Protected Attributes

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


Detailed Description

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
class ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >

Defines a reverse iterator implementation for the Hash_Map_Manager_Adapter.

Implementation to be provided by ACE_Hash_Map_Manager_Ex::reverse_iterator.

Definition at line 1070 of file Map_T.h.


Member Typedef Documentation

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
typedef ACE_TYPENAME ACE_Hash_Map_Manager_Ex<KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex>::reverse_iterator ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter::implementation
 

Definition at line 1076 of file Map_T.h.


Constructor & Destructor Documentation

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
ACE_INLINE ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter const ACE_Hash_Map_Reverse_Iterator_Ex< KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > &    impl
 

Constructor.

Definition at line 1102 of file Map_T.i.

01103   : implementation_ (impl)
01104 {
01105 }

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
ACE_INLINE ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::~ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter void    [virtual]
 

Destructor.

Definition at line 1108 of file Map_T.i.

01109 {
01110 }


Member Function Documentation

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

Clone.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1113 of file Map_T.i.

References ACE_NEW_RETURN.

01114 {
01115   ACE_Reverse_Iterator_Impl<T> *temp = 0;
01116   ACE_NEW_RETURN (temp,
01117                   (ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter<T, KEY, VALUE, HASH_KEY, COMPARE_KEYS>) (*this),
01118                   0);
01119   return temp;
01120 }

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

Comparison.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1124 of file Map_T.i.

References implementation_.

01125 {
01126   const ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter<T, KEY, VALUE, HASH_KEY, COMPARE_KEYS> &rhs_local
01127     = ACE_dynamic_cast_5_ref (const ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter, T, KEY, VALUE, HASH_KEY, COMPARE_KEYS, rhs);
01128 
01129   return this->implementation_ == rhs_local.implementation_;
01130 }

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

Dereference.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1133 of file Map_T.i.

01134 {
01135   // The following syntax is necessary to work around certain broken compilers.
01136   // In particular, please do not prefix implementation_ with this->
01137   return T ((*implementation_).ext_id_,
01138             (*implementation_).int_id_);
01139 }

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
ACE_INLINE ACE_Hash_Map_Reverse_Iterator_Ex< KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex > & ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::impl void   
 

Accessor to implementation object.

Definition at line 1154 of file Map_T.i.

References implementation_.

01155 {
01156   return this->implementation_;
01157 }

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
ACE_INLINE void ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::minus_minus void    [virtual]
 

Reverse.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1148 of file Map_T.i.

References implementation_.

01149 {
01150   --this->implementation_;
01151 }

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
ACE_INLINE void ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter< T, KEY, VALUE, HASH_KEY, COMPARE_KEYS >::plus_plus void    [virtual]
 

Advance.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 1142 of file Map_T.i.

References implementation_.

01143 {
01144   ++this->implementation_;
01145 }


Member Data Documentation

template<class T, class KEY, class VALUE, class HASH_KEY, class COMPARE_KEYS>
ACE_Hash_Map_Reverse_Iterator_Ex<KEY, VALUE, HASH_KEY, COMPARE_KEYS, ACE_Null_Mutex> ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter::implementation_ [protected]
 

All implementation details are forwarded to this class.

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