![]() |
Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Int to enum. More...
Typedefs | |
template<typename... > | |
using | void_t = void |
template<typename ... Components> | |
using | alert_builder_base |
template<typename Func > | |
using | event_from_func_t = typename event_from_func<Func>::type |
template<typename ... Components> | |
using | observer_builder_base |
template<typename ... Components> | |
using | pipeline_builder_base |
template<typename ... Components> | |
using | query_builder_base |
template<typename ... Components> | |
using | system_builder_base |
Functions | |
template<typename T > | |
const char * | symbol_name () |
template<> | |
const char * | symbol_name< uint8_t > () |
template<> | |
const char * | symbol_name< uint16_t > () |
template<> | |
const char * | symbol_name< uint32_t > () |
template<> | |
const char * | symbol_name< uint64_t > () |
template<> | |
const char * | symbol_name< int8_t > () |
template<> | |
const char * | symbol_name< int16_t > () |
template<> | |
const char * | symbol_name< int32_t > () |
template<> | |
const char * | symbol_name< int64_t > () |
template<> | |
const char * | symbol_name< float > () |
template<> | |
const char * | symbol_name< double > () |
template<typename T , enable_if_t< std::is_trivial< T >::value==true > * = nullptr> | |
void | register_lifecycle_actions (ecs_world_t *, ecs_entity_t) |
template<typename T > | |
void | ctor_impl (void *ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T > | |
void | dtor_impl (void *ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T > | |
void | copy_impl (void *dst_ptr, const void *src_ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T > | |
void | move_impl (void *dst_ptr, void *src_ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T > | |
void | copy_ctor_impl (void *dst_ptr, const void *src_ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T > | |
void | move_ctor_impl (void *dst_ptr, void *src_ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T > | |
void | ctor_move_dtor_impl (void *dst_ptr, void *src_ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T , if_not_t< std::is_trivially_move_assignable< T >::value > = 0> | |
void | move_dtor_impl (void *dst_ptr, void *src_ptr, int32_t count, const ecs_type_info_t *info) |
template<typename T , if_t< std::is_trivially_constructible< T >::value > = 0> | |
ecs_xtor_t | ctor (ecs_flags32_t &) |
template<typename T , if_t< std::is_trivially_destructible< T >::value > = 0> | |
ecs_xtor_t | dtor (ecs_flags32_t &) |
template<typename T , if_t< std::is_trivially_copyable< T >::value > = 0> | |
ecs_copy_t | copy (ecs_flags32_t &) |
template<typename T , if_t< std::is_trivially_move_assignable< T >::value > = 0> | |
ecs_move_t | move (ecs_flags32_t &) |
template<typename T , if_t< std::is_trivially_copy_constructible< T >::value > = 0> | |
ecs_copy_t | copy_ctor (ecs_flags32_t &) |
template<typename T , if_t< std::is_trivially_move_constructible< T >::value > = 0> | |
ecs_move_t | move_ctor (ecs_flags32_t &) |
template<typename T , if_t< std::is_trivially_move_constructible< T >::value &&std::is_trivially_destructible< T >::value > = 0> | |
ecs_move_t | ctor_move_dtor (ecs_flags32_t &) |
template<typename T , if_t< std::is_trivially_move_assignable< T >::value &&std::is_trivially_destructible< T >::value > = 0> | |
ecs_move_t | move_dtor (ecs_flags32_t &) |
template<typename T , if_t< has_operator_less< T >::value &&has_operator_greater< T >::value &&!has_operator_equal< T >::value > = 0> | |
int | compare_impl (const void *a, const void *b, const ecs_type_info_t *) |
template<typename T , if_t< has_operator_less< T >::value||has_operator_greater< T >::value > = 0> | |
ecs_cmp_t | compare () |
template<typename T , if_t< has_operator_equal< T >::value > = 0> | |
bool | equals_impl (const void *a, const void *b, const ecs_type_info_t *) |
template<typename T , if_t< has_operator_equal< T >::value > = 0> | |
ecs_equals_t | equals () |
void | entity_observer_create (flecs::world_t *world, flecs::entity_t event, flecs::entity_t entity, ecs_iter_action_t callback, void *callback_ctx, ecs_ctx_free_t callback_ctx_free) |
template<typename T > | |
ecs_entity_t | do_import (world &world, const char *symbol) |
template<typename T > | |
flecs::entity | import (world &world) |
void | system_init (flecs::world &world) |
void | timer_init (flecs::world &world) |
template<typename E > | |
constexpr size_t | enum_type_len () |
template<typename E , E C> | |
constexpr bool | enum_constant_is_valid () |
Test if value is valid for enumeration. | |
template<typename E , underlying_type_t< E > C> | |
constexpr bool | enum_constant_is_valid_wrap () |
template<typename T , if_t< is_const_p< T >::value > = 0> | |
constexpr flecs::inout_kind_t | type_to_inout () |
template<typename T , if_t< is_pointer< T >::value > = 0> | |
constexpr flecs::oper_kind_t | type_to_oper () |
template<class Ty > | |
void | destruct_obj (Ty *_ptr) |
template<class Ty > | |
void | free_obj (void *_ptr) |
Variables | |
constexpr placement_new_tag_t | placement_new_tag {} |
Int to enum.
using flecs::_::alert_builder_base |
Definition at line 14 of file builder.hpp.
using flecs::_::event_from_func_t = typename event_from_func<Func>::type |
using flecs::_::observer_builder_base |
Definition at line 14 of file builder.hpp.
using flecs::_::pipeline_builder_base |
Definition at line 14 of file builder.hpp.
using flecs::_::query_builder_base |
Definition at line 14 of file builder.hpp.
using flecs::_::system_builder_base |
Definition at line 14 of file builder.hpp.
using flecs::_::void_t = void |
Definition at line 353 of file lifecycle_traits.hpp.
ecs_cmp_t flecs::_::compare | ( | ) |
Definition at line 463 of file lifecycle_traits.hpp.
int flecs::_::compare_impl | ( | const void * | a, |
const void * | b, | ||
const ecs_type_info_t * | ) |
Definition at line 398 of file lifecycle_traits.hpp.
ecs_copy_t flecs::_::copy | ( | ecs_flags32_t & | flags | ) |
Definition at line 210 of file lifecycle_traits.hpp.
ecs_copy_t flecs::_::copy_ctor | ( | ecs_flags32_t & | flags | ) |
Definition at line 255 of file lifecycle_traits.hpp.
void flecs::_::copy_ctor_impl | ( | void * | dst_ptr, |
const void * | src_ptr, | ||
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 67 of file lifecycle_traits.hpp.
void flecs::_::copy_impl | ( | void * | dst_ptr, |
const void * | src_ptr, | ||
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 39 of file lifecycle_traits.hpp.
ecs_xtor_t flecs::_::ctor | ( | ecs_flags32_t & | flags | ) |
Definition at line 165 of file lifecycle_traits.hpp.
void flecs::_::ctor_impl | ( | void * | ptr, |
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 17 of file lifecycle_traits.hpp.
ecs_move_t flecs::_::ctor_move_dtor | ( | ecs_flags32_t & | flags | ) |
Definition at line 301 of file lifecycle_traits.hpp.
void flecs::_::ctor_move_dtor_impl | ( | void * | dst_ptr, |
void * | src_ptr, | ||
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 96 of file lifecycle_traits.hpp.
|
inline |
ecs_entity_t flecs::_::do_import | ( | world & | world, |
const char * | symbol ) |
ecs_xtor_t flecs::_::dtor | ( | ecs_flags32_t & | flags | ) |
Definition at line 187 of file lifecycle_traits.hpp.
void flecs::_::dtor_impl | ( | void * | ptr, |
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 28 of file lifecycle_traits.hpp.
|
inline |
|
constexpr |
|
constexpr |
|
constexpr |
ecs_equals_t flecs::_::equals | ( | ) |
Definition at line 485 of file lifecycle_traits.hpp.
bool flecs::_::equals_impl | ( | const void * | a, |
const void * | b, | ||
const ecs_type_info_t * | ) |
Definition at line 477 of file lifecycle_traits.hpp.
|
inline |
flecs::entity flecs::_::import | ( | world & | world | ) |
ecs_move_t flecs::_::move | ( | ecs_flags32_t & | flags | ) |
Definition at line 233 of file lifecycle_traits.hpp.
ecs_move_t flecs::_::move_ctor | ( | ecs_flags32_t & | flags | ) |
Definition at line 278 of file lifecycle_traits.hpp.
void flecs::_::move_ctor_impl | ( | void * | dst_ptr, |
void * | src_ptr, | ||
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 81 of file lifecycle_traits.hpp.
ecs_move_t flecs::_::move_dtor | ( | ecs_flags32_t & | flags | ) |
Definition at line 328 of file lifecycle_traits.hpp.
void flecs::_::move_dtor_impl | ( | void * | dst_ptr, |
void * | src_ptr, | ||
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 113 of file lifecycle_traits.hpp.
void flecs::_::move_impl | ( | void * | dst_ptr, |
void * | src_ptr, | ||
int32_t | count, | ||
const ecs_type_info_t * | info ) |
Definition at line 53 of file lifecycle_traits.hpp.
void flecs::_::register_lifecycle_actions | ( | ecs_world_t * | world, |
ecs_entity_t | component ) |
Definition at line 92 of file component.hpp.
|
inline |
Definition at line 47 of file component.hpp.
|
inline |
Definition at line 81 of file component.hpp.
|
inline |
Definition at line 78 of file component.hpp.
|
inline |
Definition at line 69 of file component.hpp.
|
inline |
Definition at line 72 of file component.hpp.
|
inline |
Definition at line 75 of file component.hpp.
|
inline |
Definition at line 66 of file component.hpp.
|
inline |
Definition at line 57 of file component.hpp.
|
inline |
Definition at line 60 of file component.hpp.
|
inline |
Definition at line 63 of file component.hpp.
|
inline |
Definition at line 54 of file component.hpp.
|
inline |
|
constexpr |
Definition at line 14 of file signature.hpp.
|
constexpr |
Definition at line 30 of file signature.hpp.
|
constexpr |