|
| | term () |
| | Default constructor.
|
| |
| | term (flecs::world_t *world_ptr) |
| | Construct from a world.
|
| |
| | term (flecs::world_t *world_ptr, ecs_term_t t) |
| | Construct from a world and an existing term descriptor.
|
| |
| | term (flecs::world_t *world_ptr, id_t component_id) |
| | Construct from a world and a component ID.
|
| |
| | term (flecs::world_t *world_ptr, entity_t first, entity_t second) |
| | Construct from a world and a pair of entity IDs.
|
| |
| | term (id_t component_id) |
| | Construct from a component ID (no world).
|
| |
| | term (id_t first, id_t second) |
| | Construct from a pair of IDs (no world).
|
| |
| void | reset () |
| | Reset the term to its default state.
|
| |
| bool | is_set () |
| | Check if the term is initialized.
|
| |
| flecs::id | id () |
| | Get the term ID.
|
| |
| flecs::inout_kind_t | inout () |
| | Get the inout kind of the term.
|
| |
| flecs::oper_kind_t | oper () |
| | Get the operator kind of the term.
|
| |
| flecs::entity | get_src () |
| | Get the source entity of the term.
|
| |
| flecs::entity | get_first () |
| | Get the first element of the term.
|
| |
| flecs::entity | get_second () |
| | Get the second element of the term.
|
| |
| | operator flecs::term_t () const |
| | Convert to the underlying term_t.
|
| |
| | term_builder_i () |
| | Default constructor.
|
| |
| | term_builder_i (ecs_term_t *term_ptr) |
| | Construct from a term pointer.
|
| |
| term & | term (id_t id) |
| | Set the term ID.
|
| |
| term & | src () |
| | Call prior to setting values for the src identifier.
|
| |
| term & | src (flecs::entity_t id) |
| | Select the src identifier, initialize it with an entity ID.
|
| |
| term & | src () |
| | Select the src identifier, initialize it with the ID associated with the type.
|
| |
| term & | src (const char *name) |
| | Select the src identifier, initialize it with a name.
|
| |
| term & | first () |
| | Call prior to setting values for the first identifier.
|
| |
| term & | first (flecs::entity_t id) |
| | Select the first identifier, initialize it with an entity ID.
|
| |
| term & | first () |
| | Select the first identifier, initialize it with the ID associated with the type.
|
| |
| term & | first (const char *name) |
| | Select the first identifier, initialize it with a name.
|
| |
| term & | second () |
| | Call prior to setting values for the second identifier.
|
| |
| term & | second (flecs::entity_t id) |
| | Select the second identifier, initialize it with an entity ID.
|
| |
| term & | second () |
| | Select the second identifier, initialize it with the ID associated with the type.
|
| |
| term & | second (const char *name) |
| | Select the second identifier, initialize it with a name.
|
| |
| term & | up (flecs::entity_t trav=0) |
| | The up flag indicates that the term identifier may be substituted by traversing a relationship upwards.
|
| |
| term & | up () |
| | Traverse upwards using the specified relationship type.
|
| |
| term & | cascade (flecs::entity_t trav=0) |
| | The cascade flag is like up(), but returns results in breadth-first order.
|
| |
| term & | cascade () |
| | Cascade using the specified relationship type.
|
| |
| term & | desc () |
| | Use with cascade() to iterate results in descending (bottom-to-top) order.
|
| |
| term & | parent () |
| | Same as up().
|
| |
| term & | trav (flecs::entity_t trav, flecs::flags32_t flags=0) |
| | Specify the relationship to traverse, and flags to indicate direction.
|
| |
| term & | id_flags (id_t flags) |
| | Set ID flags for the term.
|
| |
| term & | inout (flecs::inout_kind_t inout) |
| | Set read/write access of the term.
|
| |
| term & | inout () |
| | Short for inout(flecs::InOut).
|
| |
| term & | inout_stage (flecs::inout_kind_t inout) |
| | Set read/write access for a 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::InOutNone).
|
| |
| term & | oper (flecs::oper_kind_t oper) |
| | Set the operator of the term.
|
| |
| term & | and_ () |
| | Short for oper(flecs::And).
|
| |
| term & | or_ () |
| | Short for oper(flecs::Or).
|
| |
| term & | not_ () |
| | Short for oper(flecs::Not).
|
| |
| term & | optional () |
| | Short for oper(flecs::Optional).
|
| |
| term & | and_from () |
| | Short for oper(flecs::AndFrom).
|
| |
| term & | or_from () |
| | Short for oper(flecs::OrFrom).
|
| |
| term & | not_from () |
| | Short for oper(flecs::NotFrom).
|
| |
| term & | filter () |
| | Mark the term as a filter.
|
| |
| | term_ref_builder_i () |
| | Default constructor.
|
| |
| virtual | ~term_ref_builder_i () |
| | Destructor.
|
| |
| Base & | self () |
| | The self flag indicates that the term identifier itself is used.
|
| |
| Base & | id (flecs::entity_t id) |
| | Specify the value of the identifier by ID.
|
| |
| Base & | entity (flecs::entity_t entity) |
| | Specify the value of the identifier by ID.
|
| |
| Base & | name (const char *name) |
| | Specify the value of the identifier by name.
|
| |
| Base & | var (const char *var_name) |
| | Specify that the identifier is a variable (resolved at query evaluation time).
|
| |
| Base & | flags (flecs::flags64_t flags) |
| | Override the term ID flags.
|
| |
Class that describes a term.
Definition at line 16 of file impl.hpp.