Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::enum_data_impl< E > Struct Template Reference

Enumeration type data. More...

#include <enum.hpp>

Public Attributes

int min
 
int max
 
bool has_contiguous
 
contiguous_until
 
enum_constant_data< U > constants [constants_size? constants_size:1]
 

Static Public Attributes

static constexpr unsigned int constants_size = enum_reflection<E, reflection_count>::template each_enum< static_cast<U>(enum_last<E>::value) >()
 

Detailed Description

template<typename E>
struct flecs::_::enum_data_impl< E >

Enumeration type data.

Definition at line 269 of file enum.hpp.

Member Data Documentation

◆ constants

template<typename E >
enum_constant_data<U> flecs::_::enum_data_impl< E >::constants[constants_size? constants_size:1]

Definition at line 297 of file enum.hpp.

◆ constants_size

template<typename E >
constexpr unsigned int flecs::_::enum_data_impl< E >::constants_size = enum_reflection<E, reflection_count>::template each_enum< static_cast<U>(enum_last<E>::value) >()
staticconstexpr

Definition at line 295 of file enum.hpp.

◆ contiguous_until

template<typename E >
U flecs::_::enum_data_impl< E >::contiguous_until

Definition at line 293 of file enum.hpp.

◆ has_contiguous

template<typename E >
bool flecs::_::enum_data_impl< E >::has_contiguous

Definition at line 291 of file enum.hpp.

◆ max

template<typename E >
int flecs::_::enum_data_impl< E >::max

Definition at line 290 of file enum.hpp.

◆ min

template<typename E >
int flecs::_::enum_data_impl< E >::min

Definition at line 289 of file enum.hpp.


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