ACE
6.1.6
|
Defines a simple incremental key generator. More...
#include <Map_T.h>
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. |
Defines a simple incremental key generator.
Generates a new key of type T by incrementing current value. Requirements on T are:
|
inline |
Constructor.
|
inline |
Returns the current value.
|
inline |
Functor method: generates a new key.
|
protected |
Current value.