Public Types | Public Member Functions | Protected Attributes

ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE > 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< T, KEY, VALUE >:
Inheritance graph
[legend]
Collaboration diagram for ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >:
Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

 ACE_Map_Manager_Reverse_Iterator_Adapter (const ACE_Map_Reverse_Iterator< KEY, VALUE, ACE_Null_Mutex > &impl)
 Constructor.
virtual ~ACE_Map_Manager_Reverse_Iterator_Adapter (void)
 Destructor.
virtual
ACE_Reverse_Iterator_Impl< T > * 
clone (void) const
 Clone.
virtual int compare (const ACE_Reverse_Iterator_Impl< T > &rhs) const
 Comparison.
virtual T dereference (void) const
 Dereference.
virtual void plus_plus (void)
 Advance.
virtual void minus_minus (void)
 Reverse.
ACE_Map_Reverse_Iterator< KEY,
VALUE, ACE_Null_Mutex > & 
impl (void)
 Accessor to implementation object.

Protected Attributes

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

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 1364 of file Map_T.h.


Member Typedef Documentation

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

Definition at line 1370 of file Map_T.h.


Constructor & Destructor Documentation

template<class T , class KEY , class VALUE >
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  )  [inline]

Constructor.

Definition at line 378 of file Map_T.inl.

  : implementation_ (impl)
{
}

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

Destructor.

Definition at line 1095 of file Map_T.cpp.

{
}


Member Function Documentation

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

Clone.

Implements ACE_Reverse_Iterator_Impl< T >.

Definition at line 1100 of file Map_T.cpp.

template<class T , class KEY , class VALUE >
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< T >.

Definition at line 1111 of file Map_T.cpp.

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

Dereference.

Implements ACE_Reverse_Iterator_Impl< T >.

Definition at line 1120 of file Map_T.cpp.

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

template<class T , class KEY , class VALUE >
ACE_Map_Reverse_Iterator< KEY, VALUE, ACE_Null_Mutex > & ACE_Map_Manager_Reverse_Iterator_Adapter< T, KEY, VALUE >::impl ( void   )  [inline]

Accessor to implementation object.

Definition at line 384 of file Map_T.inl.

{
  return this->implementation_;
}

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

Reverse.

Implements ACE_Reverse_Iterator_Impl< T >.

Definition at line 1135 of file Map_T.cpp.

{
  --this->implementation_;
}

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

Advance.

Implements ACE_Reverse_Iterator_Impl< T >.

Definition at line 1129 of file Map_T.cpp.

{
  ++this->implementation_;
}


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< T, KEY, VALUE >::implementation_ [protected]

All implementation details are forwarded to this class.

Definition at line 1399 of file Map_T.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines