EnTT 3.13.0
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
entt::family<... > Class Template Reference

Dynamic identifier generator. More...

#include <family.hpp>

Public Types

using value_type = id_type
 Unsigned integer type.
 

Static Public Attributes

template<typename... Type>
static const value_type value = identifier++
 Statically generated unique identifier for the given type.
 

Detailed Description

template<typename...>
class entt::family<... >

Dynamic identifier generator.

Utility class template that can be used to assign unique identifiers to types at runtime. Use different specializations to create separate sets of identifiers.

Definition at line 17 of file family.hpp.

Member Typedef Documentation

◆ value_type

template<typename... >
using entt::family<... >::value_type = id_type

Unsigned integer type.

Definition at line 22 of file family.hpp.

Member Data Documentation

◆ value

template<typename... >
template<typename... Type>
const value_type entt::family<... >::value = identifier++
inlinestatic

Statically generated unique identifier for the given type.

Definition at line 27 of file family.hpp.


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