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

Public Methods | |
| ACE_Incremental_Key_Generator (void) | |
| Constructor. More... | |
| int | operator() (T &t) |
| Functor method: generates a new key. More... | |
| const T & | current_value (void) const |
| Returns the current value. More... | |
Protected Attributes | |
| T | t_ |
| Current value. More... | |
Generates a new key of type T by incrementing current value. Requirements on T are:
Definition at line 54 of file Map_T.h.
|
||||||||||
|
Constructor.
Definition at line 10 of file Map_T.i.
00011 : t_ (0) 00012 { 00013 } |
|
||||||||||
|
Returns the current value.
Definition at line 23 of file Map_T.i. References t_.
00024 {
00025 return this->t_;
00026 }
|
|
||||||||||
|
Functor method: generates a new key.
Definition at line 16 of file Map_T.i. References t_.
00017 {
00018 t = ++this->t_;
00019 return 0;
00020 }
|
|
|||||
|
Current value.
Definition at line 70 of file Map_T.h. Referenced by current_value, and operator(). |
1.2.14 written by Dimitri van Heesch,
© 1997-2002