ACE
6.3.1
|
Defines a simple incremental key generator. More...
#include <Map_T.h>
Public Member Functions | |
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... | |
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.