ACE  6.0.6
Public Member Functions | Protected Attributes
ACE_Incremental_Key_Generator Class Reference

Defines a simple incremental key generator. More...

#include <Map_T.h>

List of all members.

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_
 Current value.

Detailed Description

Defines a simple incremental key generator.

Generates a new key of type T by incrementing current value. Requirements on T are:


Constructor & Destructor Documentation

ACE_Incremental_Key_Generator::ACE_Incremental_Key_Generator ( void  ) [inline]

Constructor.


Member Function Documentation

const T & ACE_Incremental_Key_Generator::current_value ( void  ) const [inline]

Returns the current value.

int ACE_Incremental_Key_Generator::operator() ( T &  t) [inline]

Functor method: generates a new key.


Member Data Documentation

Current value.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines