ViennaGrid - The Vienna Grid Library  2.1.0
continuous_id_generator< typemap > Class Template Reference

A generator which returns numerical IDs (of possibly different type) in a continuous fashion starting from zero for each requested type. More...

#include <id_generator.hpp>


Detailed Description

template<typename typemap>
class viennagrid::continuous_id_generator< typemap >

A generator which returns numerical IDs (of possibly different type) in a continuous fashion starting from zero for each requested type.

The configuration is carried out via a type map. For an element <KeyType, IDTag> the KeyType is used for the operator() dispatch, while the IDTag specifies the type of the ID used.


The documentation for this class was generated from the following file: