NeuralEngine A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes. |

Public Types | Public Member Functions | Private Attributes | List of all members
better_enums::map< Enum, T, Compare > Struct Template Reference
Collaboration diagram for better_enums::map< Enum, T, Compare >:
[legend]

## Public Types
typedef T(* | function) (Enum)

## Public Member Functions
BETTER_ENUMS_CONSTEXPR_ | map (function f)
BETTER_ENUMS_CONSTEXPR_ T | from_enum (Enum value) const
BETTER_ENUMS_CONSTEXPR_ T | operator[] (Enum value) const
BETTER_ENUMS_CONSTEXPR_ Enum | to_enum (T value) const
BETTER_ENUMS_CONSTEXPR_ optional< Enum > | to_enum_nothrow (T value, size_t index=0) const

## Private Attributes
const function | _f

## Detailed Description

template<typename Enum, typename T, typename Compare = map_compare<T>>
struct better_enums::map< Enum, T, Compare >

Definition at line 1172 of file NeEnum.h.

## Member Typedef Documentation

## ◆ function

template<typename Enum , typename T , typename Compare = map_compare<T>>

typedef T(* better_enums::map< Enum, T, Compare >::function) (Enum)

Definition at line 1173 of file NeEnum.h.

## Constructor & Destructor Documentation

## ◆ map()

template<typename Enum , typename T , typename Compare = map_compare<T>>

BETTER_ENUMS_CONSTEXPR_ better_enums::map< Enum, T, Compare >::map | ( | function | f | ) |
| inline explicit

Definition at line 1175 of file NeEnum.h.

## Member Function Documentation

## ◆ from_enum()

template<typename Enum , typename T , typename Compare = map_compare<T>>

BETTER_ENUMS_CONSTEXPR_ T better_enums::map< Enum, T, Compare >::from_enum | ( | Enum | value | ) | const
| inline

Definition at line 1177 of file NeEnum.h.

## ◆ operator[]()

template<typename Enum , typename T , typename Compare = map_compare<T>>

BETTER_ENUMS_CONSTEXPR_ T better_enums::map< Enum, T, Compare >::operator[] | ( | Enum | value | ) | const
| inline

Definition at line 1178 of file NeEnum.h.

## ◆ to_enum()

template<typename Enum , typename T , typename Compare = map_compare<T>>

BETTER_ENUMS_CONSTEXPR_ Enum better_enums::map< Enum, T, Compare >::to_enum | ( | T | value | ) | const
| inline

Definition at line 1181 of file NeEnum.h.

## ◆ to_enum_nothrow()

template<typename Enum , typename T , typename Compare = map_compare<T>>

BETTER_ENUMS_CONSTEXPR_ optional< Enum > better_enums::map< Enum, T, Compare >::to_enum_nothrow | ( | T | value,
|  | size_t | index = `0`
| ) |  | const
| inline

Definition at line 1188 of file NeEnum.h.

## Member Data Documentation

## ◆ _f

template<typename Enum , typename T , typename Compare = map_compare<T>>

const function better_enums::map< Enum, T, Compare >::_f
| private

Definition at line 1199 of file NeEnum.h.

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

- NeEnum.h