ACE 8.0.1
|
Defines a simple incremental key generator. More...
#include <Map_T.h>
Public Member Functions | |
ACE_Incremental_Key_Generator ()=default | |
Constructor. | |
int | operator() (T &t) |
Functor method: generates a new key. | |
const T & | current_value () 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:
|
default |
Constructor.
|
inline |
Returns the current value.
|
inline |
Functor method: generates a new key.
|
protected |
Current value.