Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Term builder interface. More...
#include <builder_i.hpp>
Public Member Functions | |
term_builder_i (ecs_term_t *term_ptr) | |
Base & | term (id_t id) |
Base & | src () |
Base & | first () |
Base & | second () |
Base & | src (flecs::entity_t id) |
template<typename T > | |
Base & | src () |
Base & | src (const char *name) |
Base & | first (flecs::entity_t id) |
template<typename T > | |
Base & | first () |
Base & | first (const char *name) |
Base & | second (flecs::entity_t id) |
template<typename T > | |
Base & | second () |
Base & | second (const char *name) |
Base & | up (flecs::entity_t trav=0) |
template<typename Trav > | |
Base & | up () |
Base & | cascade (flecs::entity_t trav=0) |
template<typename Trav > | |
Base & | cascade () |
Base & | desc () |
Base & | parent () |
Base & | trav (flecs::entity_t trav, flecs::flags32_t flags=0) |
Base & | id_flags (id_t flags) |
Set id flags for term. | |
Base & | inout (flecs::inout_kind_t inout) |
Set read/write access of term. | |
Base & | inout_stage (flecs::inout_kind_t inout) |
Set read/write access for stage. | |
Base & | write () |
Short for inout_stage(flecs::Out). | |
Base & | read () |
Short for inout_stage(flecs::In). | |
Base & | read_write () |
Short for inout_stage(flecs::InOut). | |
Base & | in () |
Short for inout(flecs::In) | |
Base & | out () |
Short for inout(flecs::Out) | |
Base & | inout () |
Short for inout(flecs::InOut) | |
Base & | inout_none () |
Short for inout(flecs::In) | |
Base & | oper (flecs::oper_kind_t oper) |
Set operator of term. | |
Base & | and_ () |
Base & | or_ () |
Base & | not_ () |
Base & | optional () |
Base & | and_from () |
Base & | or_from () |
Base & | not_from () |
Base & | singleton () |
Match singleton. | |
Base & | 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 | |
ecs_term_t * | term_ |
Public Attributes inherited from flecs::term_ref_builder_i< Base > | |
ecs_term_ref_t * | term_ref_ |
Protected Member Functions | |
virtual flecs::world_t * | world_v () override=0 |
void | set_term (ecs_term_t *term) |
Protected Member Functions inherited from flecs::term_ref_builder_i< Base > | |
void | assert_term_ref () |
Term builder interface.
A term is a single element of a query expression.
Definition at line 99 of file builder_i.hpp.
|
inline |
Definition at line 100 of file builder_i.hpp.
|
inline |
Definition at line 102 of file builder_i.hpp.
|
inline |
Definition at line 354 of file builder_i.hpp.
|
inline |
Definition at line 374 of file builder_i.hpp.
|
inline |
Definition at line 250 of file builder_i.hpp.
|
inline |
Definition at line 239 of file builder_i.hpp.
|
inline |
Definition at line 255 of file builder_i.hpp.
|
inline |
Definition at line 410 of file builder_i.hpp.
|
inline |
Definition at line 120 of file builder_i.hpp.
|
inline |
Definition at line 170 of file builder_i.hpp.
|
inline |
Definition at line 177 of file builder_i.hpp.
|
inline |
Definition at line 162 of file builder_i.hpp.
|
inline |
Set id flags for term.
Definition at line 275 of file builder_i.hpp.
|
inline |
Short for inout(flecs::In)
Definition at line 327 of file builder_i.hpp.
|
inline |
Short for inout(flecs::InOut)
Definition at line 337 of file builder_i.hpp.
|
inline |
Set read/write access of term.
Definition at line 282 of file builder_i.hpp.
|
inline |
Short for inout(flecs::In)
Definition at line 342 of file builder_i.hpp.
|
inline |
Set read/write access for stage.
Use this when a system reads or writes components other than the ones provided by the query. This information can be used by schedulers to insert sync/merge points between systems where deferred operations are flushed.
Setting this is optional. If not set, the value of the accessed component may be out of sync for at most one frame.
Definition at line 296 of file builder_i.hpp.
|
inline |
Definition at line 364 of file builder_i.hpp.
|
inline |
Definition at line 384 of file builder_i.hpp.
|
inline |
Set operator of term.
Definition at line 347 of file builder_i.hpp.
|
inline |
Definition at line 369 of file builder_i.hpp.
|
inline |
Definition at line 359 of file builder_i.hpp.
|
inline |
Definition at line 379 of file builder_i.hpp.
|
inline |
Short for inout(flecs::Out)
Definition at line 332 of file builder_i.hpp.
|
inline |
Definition at line 262 of file builder_i.hpp.
|
inline |
Short for inout_stage(flecs::In).
Use when system uses get.
Definition at line 315 of file builder_i.hpp.
|
inline |
Short for inout_stage(flecs::InOut).
Use when system uses ensure.
Definition at line 322 of file builder_i.hpp.
|
inline |
Definition at line 128 of file builder_i.hpp.
|
inline |
Definition at line 197 of file builder_i.hpp.
|
inline |
Definition at line 204 of file builder_i.hpp.
|
inline |
Definition at line 189 of file builder_i.hpp.
|
inlineprotected |
Definition at line 420 of file builder_i.hpp.
|
inline |
Match singleton.
Definition at line 389 of file builder_i.hpp.
|
inline |
Definition at line 111 of file builder_i.hpp.
Definition at line 143 of file builder_i.hpp.
|
inline |
Definition at line 150 of file builder_i.hpp.
|
inline |
Definition at line 135 of file builder_i.hpp.
|
inline |
Definition at line 106 of file builder_i.hpp.
|
inline |
Definition at line 267 of file builder_i.hpp.
|
inline |
Definition at line 233 of file builder_i.hpp.
|
inline |
Definition at line 218 of file builder_i.hpp.
|
overrideprotectedpure virtual |
Implements flecs::term_ref_builder_i< Base >.
|
inline |
Short for inout_stage(flecs::Out).
Use when system uses add, remove or set.
Definition at line 308 of file builder_i.hpp.
ecs_term_t* flecs::term_builder_i< Base >::term_ |
Definition at line 415 of file builder_i.hpp.