17template <
typename... Comps,
typename... Args>
30template <
typename... Comps,
typename... Args>
53template <
typename Func>
54void each(Func&& func)
const;
70template <
typename T,
typename Func>
71void each(Func&& func)
const;
74template <
typename Func>
75void each(flecs::id_t term_id, Func&& func)
const;
flecs::query_builder< Comps... > query_builder(Args &&... args) const
Create a query builder.
void each(Func &&func) const
Iterate over all entities with components in argument list of function.
void each(flecs::id_t term_id, Func &&func) const
Iterate over all entities with provided (component) id.
void each(Func &&func) const
Iterate over all entities with provided component.
flecs::query< Comps... > query(Args &&... args) const
Create a query.
flecs::query query(flecs::entity query_entity) const
Create a query from entity.