|
template<typename Iterable > |
| iter_iterable (Iterable *it, flecs::world_t *world) |
|
iter_iterable< Components... > & | set_var (int var_id, flecs::entity_t value) |
|
iter_iterable< Components... > & | set_var (const char *name, flecs::entity_t value) |
|
iter_iterable< Components... > & | set_var (const char *name, flecs::table_t *value) |
|
iter_iterable< Components... > & | set_var (const char *name, ecs_table_range_t value) |
|
iter_iterable< Components... > & | set_var (const char *name, flecs::table_range value) |
|
int32_t | count () |
|
bool | is_true () |
|
flecs::entity | first () |
|
iter_iterable< Components... > & | set_group (uint64_t group_id) |
|
template<typename Group > |
iter_iterable< Components... > & | set_group () |
|
void | each (Func &&func) const |
| Each iterator.
|
|
void | run (Func &&func) const |
| Run iterator.
|
|
flecs::entity | find (Func &&func) const |
|
iter_iterable< Components... > | iter (flecs::world_t *world=nullptr) const |
| Create iterator.
|
|
iter_iterable< Components... > | iter (flecs::iter &iter) const |
| Create iterator.
|
|
iter_iterable< Components... > | iter (flecs::entity e) const |
| Create iterator.
|
|
page_iterable< Components... > | page (int32_t offset, int32_t limit) |
| Page iterator.
|
|
worker_iterable< Components... > | worker (int32_t index, int32_t count) |
| Worker iterator.
|
|
int32_t | count () const |
| Return number of entities matched by iterable.
|
|
bool | is_true () const |
| Return whether iterable has any matches.
|
|
flecs::entity | first () const |
| Return first entity matched by iterable.
|
|
iter_iterable< Components... > | set_var (int var_id, flecs::entity_t value) |
|
iter_iterable< Components... > | set_var (const char *name, flecs::entity_t value) |
|
iter_iterable< Components... > | set_var (const char *name, flecs::table_t *value) |
|
iter_iterable< Components... > | set_var (const char *name, ecs_table_range_t value) |
|
iter_iterable< Components... > | set_var (const char *name, flecs::table_range value) |
|
iter_iterable< Components... > | set_group (uint64_t group_id) |
|
iter_iterable< Components... > | set_group () |
|
template<typename ... Components>
struct flecs::iter_iterable< Components >
Definition at line 155 of file iterable.hpp.