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

ACE_Map_Impl_Reverse_Iterator_Adapter Class Template Reference

Defines a reverse iterator implementation for the Map_Impl class. More...

#include <Map_T.h>

Inheritance diagram for ACE_Map_Impl_Reverse_Iterator_Adapter:

Inheritance graph
[legend]
Collaboration diagram for ACE_Map_Impl_Reverse_Iterator_Adapter:

Collaboration graph
[legend]
List of all members.

Public Types

typedef IMPLEMENTATION implementation

Public Methods

 ACE_Map_Impl_Reverse_Iterator_Adapter (const IMPLEMENTATION &impl)
 Constructor. More...

virtual ~ACE_Map_Impl_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...

IMPLEMENTATION & impl (void)
 Accessor to implementation object. More...


Protected Attributes

IMPLEMENTATION implementation_
 All implementation details are forwarded to this class. More...


Detailed Description

template<class T, class IMPLEMENTATION, class ENTRY>
class ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >

Defines a reverse iterator implementation for the Map_Impl class.

Implementation to be provided by IMPLEMENTATION.

Definition at line 493 of file Map_T.h.


Member Typedef Documentation

template<class T, class IMPLEMENTATION, class ENTRY>
typedef IMPLEMENTATION ACE_Map_Impl_Reverse_Iterator_Adapter::implementation
 

Definition at line 499 of file Map_T.h.


Constructor & Destructor Documentation

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::ACE_Map_Impl_Reverse_Iterator_Adapter const IMPLEMENTATION &    impl
 

Constructor.

Definition at line 290 of file Map_T.i.

00291   : implementation_ (impl)
00292 {
00293 }

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::~ACE_Map_Impl_Reverse_Iterator_Adapter void    [virtual]
 

Destructor.

Definition at line 296 of file Map_T.i.

00297 {
00298 }


Member Function Documentation

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE ACE_Reverse_Iterator_Impl< T > * ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::clone void    const [virtual]
 

Clone.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 301 of file Map_T.i.

References ACE_NEW_RETURN.

00302 {
00303   ACE_Reverse_Iterator_Impl<T> *temp = 0;
00304   ACE_NEW_RETURN (temp,
00305                   (ACE_Map_Impl_Reverse_Iterator_Adapter<T, IMPLEMENTATION, ENTRY>) (*this),
00306                   0);
00307   return temp;
00308 }

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE int ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::compare const ACE_Reverse_Iterator_Impl< T > &    rhs const [virtual]
 

Comparison.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 312 of file Map_T.i.

References implementation_.

00313 {
00314   const ACE_Map_Impl_Reverse_Iterator_Adapter<T, IMPLEMENTATION, ENTRY> &rhs_local
00315     = ACE_dynamic_cast_3_ref (const ACE_Map_Impl_Reverse_Iterator_Adapter, T, IMPLEMENTATION, ENTRY, rhs);
00316 
00317   return this->implementation_ == rhs_local.implementation_;
00318 }

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE T ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::dereference void    const [virtual]
 

Dereference.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 321 of file Map_T.i.

References implementation_.

00322 {
00323   ENTRY &entry = *this->implementation_;
00324   return T (entry.ext_id_,
00325             entry.int_id_);
00326 }

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE IMPLEMENTATION & ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::impl void   
 

Accessor to implementation object.

Definition at line 341 of file Map_T.i.

References implementation_.

00342 {
00343   return this->implementation_;
00344 }

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE void ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::minus_minus void    [virtual]
 

Reverse.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 335 of file Map_T.i.

References implementation_.

00336 {
00337   --this->implementation_;
00338 }

template<class T, class IMPLEMENTATION, class ENTRY>
ACE_INLINE void ACE_Map_Impl_Reverse_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::plus_plus void    [virtual]
 

Advance.

Implements ACE_Reverse_Iterator_Impl.

Definition at line 329 of file Map_T.i.

References implementation_.

00330 {
00331   ++this->implementation_;
00332 }


Member Data Documentation

template<class T, class IMPLEMENTATION, class ENTRY>
IMPLEMENTATION ACE_Map_Impl_Reverse_Iterator_Adapter::implementation_ [protected]
 

All implementation details are forwarded to this class.

Definition at line 528 of file Map_T.h.

Referenced by compare, dereference, impl, minus_minus, and plus_plus.


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