Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Class that describes a term. More...
#include <impl.hpp>
Public Member Functions | |
term (flecs::world_t *world_ptr) | |
term (flecs::world_t *world_ptr, ecs_term_t t) | |
term (flecs::world_t *world_ptr, id_t id) | |
term (flecs::world_t *world_ptr, entity_t r, entity_t o) | |
term (id_t id) | |
term (id_t r, id_t o) | |
void | reset () |
bool | is_set () |
flecs::id | id () |
flecs::inout_kind_t | inout () |
flecs::oper_kind_t | oper () |
flecs::entity | get_src () |
flecs::entity | get_first () |
flecs::entity | get_second () |
operator flecs::term_t () const | |
Public Member Functions inherited from flecs::term_builder_i< term > | |
term_builder_i (ecs_term_t *term_ptr) | |
term & | term (id_t id) |
term & | src () |
term & | src (flecs::entity_t id) |
term & | src () |
term & | src (const char *name) |
term & | first () |
term & | first (flecs::entity_t id) |
term & | first () |
term & | first (const char *name) |
term & | second () |
term & | second (flecs::entity_t id) |
term & | second () |
term & | second (const char *name) |
term & | up (flecs::entity_t trav=0) |
term & | up () |
term & | cascade (flecs::entity_t trav=0) |
term & | cascade () |
term & | desc () |
term & | parent () |
term & | trav (flecs::entity_t trav, flecs::flags32_t flags=0) |
term & | id_flags (id_t flags) |
Set id flags for term. | |
term & | inout (flecs::inout_kind_t inout) |
Set read/write access of term. | |
term & | inout () |
Short for inout(flecs::InOut) | |
term & | inout_stage (flecs::inout_kind_t inout) |
Set read/write access for stage. | |
term & | write () |
Short for inout_stage(flecs::Out). | |
term & | read () |
Short for inout_stage(flecs::In). | |
term & | read_write () |
Short for inout_stage(flecs::InOut). | |
term & | in () |
Short for inout(flecs::In) | |
term & | out () |
Short for inout(flecs::Out) | |
term & | inout_none () |
Short for inout(flecs::In) | |
term & | oper (flecs::oper_kind_t oper) |
Set operator of term. | |
term & | and_ () |
term & | or_ () |
term & | not_ () |
term & | optional () |
term & | and_from () |
term & | or_from () |
term & | not_from () |
term & | singleton () |
Match singleton. | |
term & | filter () |
Public Member Functions inherited from flecs::term_ref_builder_i< Base > | |
Base & | self () |
Base & | id (flecs::entity_t id) |
Base & | entity (flecs::entity_t entity) |
Base & | name (const char *name) |
Base & | var (const char *var_name) |
Base & | flags (flecs::flags32_t flags) |
Public Attributes | |
flecs::term_t | value |
Public Attributes inherited from flecs::term_builder_i< term > | |
ecs_term_t * | term_ |
Public Attributes inherited from flecs::term_ref_builder_i< Base > | |
ecs_term_ref_t * | term_ref_ |
Protected Member Functions | |
flecs::world_t * | world_v () override |
Protected Member Functions inherited from flecs::term_builder_i< term > | |
void | set_term (ecs_term_t *term) |
Protected Member Functions inherited from flecs::term_ref_builder_i< Base > | |
void | assert_term_ref () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements flecs::term_builder_i< term >.
flecs::term_t flecs::term::value |