#include <Map_T.h>
Collaboration diagram for ACE_Incremental_Key_Generator< T >:

Public Member Functions | |
| ACE_Incremental_Key_Generator (void) | |
| Constructor. | |
| int | operator() (T &t) |
| Functor method: generates a new key. | |
| const T & | current_value (void) const |
| Returns the current value. | |
Protected Attributes | |
| T | t_ |
| Current value. | |
Generates a new key of type T by incrementing current value. Requirements on T are:
Definition at line 56 of file Map_T.h.
| ACE_INLINE ACE_Incremental_Key_Generator< T >::ACE_Incremental_Key_Generator | ( | void | ) |
| ACE_INLINE const T & ACE_Incremental_Key_Generator< T >::current_value | ( | void | ) | const |
Returns the current value.
Definition at line 27 of file Map_T.inl.
References ACE_Incremental_Key_Generator< T >::t_.
00028 { 00029 return this->t_; 00030 }
| ACE_INLINE int ACE_Incremental_Key_Generator< T >::operator() | ( | T & | t | ) |
Functor method: generates a new key.
Definition at line 20 of file Map_T.inl.
References ACE_Incremental_Key_Generator< T >::t_.
00021 { 00022 t = ++this->t_; 00023 return 0; 00024 }
T ACE_Incremental_Key_Generator< T >::t_ [protected] |
Current value.
Definition at line 72 of file Map_T.h.
Referenced by ACE_Incremental_Key_Generator< T >::current_value(), and ACE_Incremental_Key_Generator< T >::operator()().
1.4.7