![]()  | 
  
    Flecs v4.1
    
   A fast entity component system (ECS) for C & C++ 
   | 
 
Convenience type with enum reflection data. More...
#include <enum.hpp>
Public Types | |
| using | U = underlying_type_t<E> | 
Public Member Functions | |
| enum_data (flecs::world_t *world, _::enum_type< E > &impl) | |
| bool | is_valid (U value) | 
| Checks if a given integral value is a valid enum value.   | |
| bool | is_valid (E value) | 
| Checks if a given enum value is valid.   | |
| int | index_by_value (U value) const | 
| Finds the index into the constants array for a value, if one exists.   | |
| int | index_by_value (E value) const | 
| Finds the index into the constants array for an enum value, if one exists.   | |
| int | first () const | 
| int | last () const | 
| int | next (int cur) const | 
| flecs::entity | entity () const | 
| flecs::entity | entity (U value) const | 
| flecs::entity | entity (E value) const | 
Public Attributes | |
| flecs::world_t * | world_ | 
| Manually register constant for enum.   | |
| _::enum_type< E > & | impl_ | 
Convenience type with enum reflection data.
Enumeration type data wrapper with world pointer.
| using flecs::enum_data< E >::U = underlying_type_t<E> | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
| _::enum_type<E>& flecs::enum_data< E >::impl_ | 
| flecs::world_t* flecs::enum_data< E >::world_ |