Flecs: include/flecs/addons/cpp/component.hpp File Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
component.hpp File Reference

Registering/obtaining info from components. More...

`#include "mixins/meta/untyped_component.inl"`
`#include "mixins/metrics/untyped_component.inl"`
`#include "mixins/meta/component.inl"`
Include dependency graph for component.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | flecs::_::type_impl< T >
struct | flecs::_::type< T, if_not_t< is_pair< T >::value > >
struct | flecs::_::type< T, if_t< is_pair< T >::value > >
struct | flecs::untyped_component
| Untyped component class. More...
struct | flecs::component< T >
| Component class. More...

## Namespaces
namespace | flecs::_
| Int to enum.

## Functions
template<typename T>
const char * | flecs::_::symbol_name ()
template<>
const char * | flecs::_::symbol_name< uint8_t > ()
template<>
const char * | flecs::_::symbol_name< uint16_t > ()
template<>
const char * | flecs::_::symbol_name< uint32_t > ()
template<>
const char * | flecs::_::symbol_name< uint64_t > ()
template<>
const char * | flecs::_::symbol_name< int8_t > ()
template<>
const char * | flecs::_::symbol_name< int16_t > ()
template<>
const char * | flecs::_::symbol_name< int32_t > ()
template<>
const char * | flecs::_::symbol_name< int64_t > ()
template<>
const char * | flecs::_::symbol_name< float > ()
template<>
const char * | flecs::_::symbol_name< double > ()
template<typename T, enable_if_t< std::is_trivial< T >::value==true > * = nullptr>
void | flecs::_::register_lifecycle_actions (ecs_world_t *, ecs_entity_t)
template<typename T, enable_if_t< std::is_trivial< T >::value==false > * = nullptr>
void | flecs::_::register_lifecycle_actions (ecs_world_t *world, ecs_entity_t component)

## Variables
template<typename T>
int32_t | flecs::_::type_impl< T >::s_index
template<typename T>
size_t | flecs::_::type_impl< T >::s_size
template<typename T>
size_t | flecs::_::type_impl< T >::s_alignment

## Detailed Description

Registering/obtaining info from components.

Definition in file component.hpp.