![]() |
Flecs v3.2
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 & | role (id_t role) |
Set role of term. More... | |
Base & | inout (flecs::inout_kind_t inout) |
Set read/write access of term. More... | |
Base & | inout_stage (flecs::inout_kind_t inout) |
Set read/write access for stage. More... | |
Base & | write () |
Short for inout_stage(flecs::Out). More... | |
Base & | read () |
Short for inout_stage(flecs::In). More... | |
Base & | read_write () |
Short for inout_stage(flecs::InOut). More... | |
Base & | in () |
Short for inout(flecs::In) More... | |
Base & | out () |
Short for inout(flecs::Out) More... | |
Base & | inout () |
Short for inout(flecs::InOut) More... | |
Base & | inout_none () |
Short for inout(flecs::In) More... | |
Base & | oper (flecs::oper_kind_t oper) |
Set operator of term. More... | |
Base & | and_ () |
Base & | or_ () |
Base & | not_ () |
Base & | optional () |
Base & | and_from () |
Base & | or_from () |
Base & | not_from () |
Base & | singleton () |
Match singleton. More... | |
Base & | filter () |
![]() | |
Base & | self () |
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 (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 * | m_term |
![]() | |
ecs_term_id_t * | m_term_id |
Protected Member Functions | |
virtual flecs::world_t * | world_v ()=0 |
void | set_term (ecs_term_t *term) |
virtual flecs::world_t * | world_v ()=0 |
Term builder interface.
A term is a single element of a query expression.
Definition at line 155 of file builder_i.hpp.
|
inline |
Definition at line 156 of file builder_i.hpp.
|
inline |
Definition at line 158 of file builder_i.hpp.
|
inline |
Definition at line 351 of file builder_i.hpp.
|
inline |
Definition at line 371 of file builder_i.hpp.
|
inline |
Definition at line 407 of file builder_i.hpp.
|
inline |
Definition at line 176 of file builder_i.hpp.
|
inline |
Definition at line 226 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.
|
inline |
Short for inout(flecs::In)
Definition at line 324 of file builder_i.hpp.
|
inline |
Short for inout(flecs::InOut)
Definition at line 334 of file builder_i.hpp.
|
inline |
Set read/write access of term.
Definition at line 279 of file builder_i.hpp.
|
inline |
Short for inout(flecs::In)
Definition at line 339 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 293 of file builder_i.hpp.
|
inline |
Definition at line 361 of file builder_i.hpp.
|
inline |
Definition at line 381 of file builder_i.hpp.
|
inline |
Set operator of term.
Definition at line 344 of file builder_i.hpp.
|
inline |
Definition at line 366 of file builder_i.hpp.
|
inline |
Definition at line 356 of file builder_i.hpp.
|
inline |
Definition at line 376 of file builder_i.hpp.
|
inline |
Short for inout(flecs::Out)
Definition at line 329 of file builder_i.hpp.
|
inline |
Short for inout_stage(flecs::In).
Use when system uses get.
Definition at line 312 of file builder_i.hpp.
|
inline |
Short for inout_stage(flecs::InOut).
Use when system uses get_mut.
Definition at line 319 of file builder_i.hpp.
|
inline |
Set role of term.
Definition at line 272 of file builder_i.hpp.
|
inline |
Definition at line 184 of file builder_i.hpp.
|
inline |
Definition at line 253 of file builder_i.hpp.
|
inline |
Definition at line 260 of file builder_i.hpp.
|
inline |
Definition at line 245 of file builder_i.hpp.
|
inlineprotected |
Definition at line 417 of file builder_i.hpp.
|
inline |
Match singleton.
Definition at line 386 of file builder_i.hpp.
|
inline |
Definition at line 167 of file builder_i.hpp.
Definition at line 199 of file builder_i.hpp.
|
inline |
Definition at line 206 of file builder_i.hpp.
|
inline |
Definition at line 191 of file builder_i.hpp.
|
inline |
Definition at line 162 of file builder_i.hpp.
|
protectedpure virtual |
Implements flecs::term_id_builder_i< Base >.
|
inline |
Short for inout_stage(flecs::Out).
Use when system uses add, remove or set.
Definition at line 305 of file builder_i.hpp.
ecs_term_t* flecs::term_builder_i< Base >::m_term |
Definition at line 412 of file builder_i.hpp.