Public Types | Public Member Functions | Protected Attributes

ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY > Class Template Reference

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

#include <Map_T.h>

Inheritance diagram for ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >:
Inheritance graph
[legend]
Collaboration diagram for ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef IMPLEMENTATION implementation

Public Member Functions

 ACE_Map_Impl_Iterator_Adapter (const IMPLEMENTATION &impl)
 Constructor.
virtual ~ACE_Map_Impl_Iterator_Adapter (void)
 Destructor.
virtual ACE_Iterator_Impl< T > * clone (void) const
 Clone.
virtual int compare (const ACE_Iterator_Impl< T > &rhs) const
 Comparison.
virtual T dereference (void) const
 Dereference.
virtual void plus_plus (void)
 Advance.
virtual void minus_minus (void)
 Reverse.
IMPLEMENTATION & impl (void)
 Accessor to implementation object.

Protected Attributes

IMPLEMENTATION implementation_
 All implementation details are forwarded to this class.

Detailed Description

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

Defines a iterator implementation for the Map_Impl class.

Implementation to be provided by <IMPLEMENTATION>.

Definition at line 455 of file Map_T.h.


Member Typedef Documentation

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

Definition at line 461 of file Map_T.h.


Constructor & Destructor Documentation

template<class T , class IMPLEMENTATION , class ENTRY >
ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::ACE_Map_Impl_Iterator_Adapter ( const IMPLEMENTATION &  impl  )  [inline]

Constructor.

Definition at line 222 of file Map_T.inl.

template<class T , class IMPLEMENTATION , class ENTRY >
ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::~ACE_Map_Impl_Iterator_Adapter ( void   )  [virtual]

Destructor.

Definition at line 34 of file Map_T.cpp.

{
}


Member Function Documentation

template<class T , class IMPLEMENTATION , class ENTRY >
ACE_Iterator_Impl< T > * ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::clone ( void   )  const [virtual]

Clone.

Implements ACE_Iterator_Impl< T >.

Definition at line 40 of file Map_T.cpp.

template<class T , class IMPLEMENTATION , class ENTRY >
int ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::compare ( const ACE_Iterator_Impl< T > &  rhs  )  const [virtual]

Comparison.

Implements ACE_Iterator_Impl< T >.

Definition at line 50 of file Map_T.cpp.

template<class T , class IMPLEMENTATION , class ENTRY >
T ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::dereference ( void   )  const [virtual]

Dereference.

Implements ACE_Iterator_Impl< T >.

Definition at line 59 of file Map_T.cpp.

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

template<class T , class IMPLEMENTATION , class ENTRY >
IMPLEMENTATION & ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::impl ( void   )  [inline]

Accessor to implementation object.

Definition at line 228 of file Map_T.inl.

{
  return this->implementation_;
}

template<class T , class IMPLEMENTATION , class ENTRY >
void ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::minus_minus ( void   )  [virtual]

Reverse.

Implements ACE_Iterator_Impl< T >.

Definition at line 73 of file Map_T.cpp.

{
  --this->implementation_;
}

template<class T , class IMPLEMENTATION , class ENTRY >
void ACE_Map_Impl_Iterator_Adapter< T, IMPLEMENTATION, ENTRY >::plus_plus ( void   )  [virtual]

Advance.

Implements ACE_Iterator_Impl< T >.

Definition at line 67 of file Map_T.cpp.

{
  ++this->implementation_;
}


Member Data Documentation

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

All implementation details are forwarded to this class.

Definition at line 490 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