Skip to content
Flecs
v4.1
Search
Ctrl K
include
flecs
addons
cpp
mixins
component
mixin.inl
Go to the documentation of this file.
1
/**
2
* @file addons/cpp/mixins/component/mixin.inl
3
* @brief Component mixin.
4
*/
5
6
/** Find or register a component.
7
*
8
* @ingroup cpp_components
9
* @memberof flecs::world
10
*/
11
template
<
typename
T,
typename
... Args>
12
flecs::component<T>
component
(Args &&... args)
const
;
13
14
/** Find or register an untyped component.
15
* Method available on the flecs::world class.
16
*
17
* @ingroup cpp_components
18
* @memberof flecs::world
19
*/
20
template
<
typename
... Args>
21
flecs::untyped_component
component
(Args &&... args)
const
;
flecs::component
Component class.
Definition
component.hpp:499
flecs::untyped_component
Untyped component class.
Definition
component.hpp:368
flecs::world::component
flecs::untyped_component component(Args &&... args) const
Find or register an untyped component.
flecs::world::component
flecs::component< T > component(Args &&... args) const
Find or register a component.
Esc
↑
↓
to navigate
↵
to open
Esc
to close