|
int32_t | find_var (const char *name) |
|
| rule_base () |
|
| rule_base (world_t *world, rule_t *rule=nullptr) |
|
| rule_base (world_t *world, ecs_filter_desc_t *desc) |
|
| rule_base (world_t *world, rule_t *rule=nullptr) |
|
| rule_base (world_t *world, ecs_filter_desc_t *desc) |
|
bool | is_valid () const |
|
| operator rule_t * () const |
|
flecs::entity | entity () |
|
void | destruct () |
| Free the rule.
|
|
template<typename Func > |
void | each_term (const Func &func) const |
|
void | move (flecs::rule_base &&obj) |
| Move the rule.
|
|
flecs::filter_base | filter () const |
|
flecs::string | str () const |
| Converts this rule to a string expression.
|
|
flecs::string | rule_str () const |
| Converts this rule to a string that can be used to aid debugging the behavior of the rule.
|
|
| operator rule<> () const |
|
void | each (Func &&func) const |
| Each iterator.
|
|
void | each (flecs::world_t *world, Func &&func) const |
|
void | each (flecs::iter &it, Func &&func) const |
|
void | each (flecs::entity e, Func &&func) const |
|
flecs::entity | find (Func &&func) const |
|
void | iter (Func &&func) const |
| Iter iterator.
|
|
void | iter (flecs::world_t *world, Func &&func) const |
|
void | iter (flecs::iter &it, Func &&func) const |
|
void | iter (flecs::entity e, Func &&func) const |
|
iter_iterable< Components... > | iter (flecs::world_t *world=nullptr) 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.
|
|
template<typename ... Components>
struct flecs::rule< Components >
Definition at line 100 of file impl.hpp.