Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_term_t Struct Reference

Type that describes a term (single element in a query) More...

#include <flecs.h>

Public Attributes

ecs_id_t id
 Component id to be matched by term. More...
 
ecs_term_id_t src
 Source of term. More...
 
ecs_term_id_t first
 Component or first element of pair. More...
 
ecs_term_id_t second
 Second element of pair. More...
 
ecs_inout_kind_t inout
 Access to contents matched by term. More...
 
ecs_oper_kind_t oper
 Operator of term. More...
 
ecs_id_t id_flags
 Id flags of term id. More...
 
char * name
 Name of term. More...
 
int32_t field_index
 Index of field for term in iterator. More...
 
ecs_id_record_t * idr
 Cached pointer to internal index. More...
 
ecs_flags16_t flags
 Flags that help eval, set by ecs_filter_init. More...
 
bool move
 Used by internals. More...
 

Detailed Description

Type that describes a term (single element in a query)

Definition at line 596 of file flecs.h.

Member Data Documentation

◆ field_index

int32_t ecs_term_t::field_index

Index of field for term in iterator.

Definition at line 612 of file flecs.h.

◆ first

ecs_term_id_t ecs_term_t::first

Component or first element of pair.

Definition at line 603 of file flecs.h.

◆ flags

ecs_flags16_t ecs_term_t::flags

Flags that help eval, set by ecs_filter_init.

Definition at line 615 of file flecs.h.

◆ id

ecs_id_t ecs_term_t::id

Component id to be matched by term.

Can be set directly, or will be populated from the first/second members, which provide more flexibility.

Definition at line 597 of file flecs.h.

◆ id_flags

ecs_id_t ecs_term_t::id_flags

Id flags of term id.

Definition at line 609 of file flecs.h.

◆ idr

ecs_id_record_t* ecs_term_t::idr

Cached pointer to internal index.

Definition at line 613 of file flecs.h.

◆ inout

ecs_inout_kind_t ecs_term_t::inout

Access to contents matched by term.

Definition at line 606 of file flecs.h.

◆ move

bool ecs_term_t::move

Used by internals.

Definition at line 617 of file flecs.h.

◆ name

char* ecs_term_t::name

Name of term.

Definition at line 610 of file flecs.h.

◆ oper

ecs_oper_kind_t ecs_term_t::oper

Operator of term.

Definition at line 607 of file flecs.h.

◆ second

ecs_term_id_t ecs_term_t::second

Second element of pair.

Definition at line 604 of file flecs.h.

◆ src

ecs_term_id_t ecs_term_t::src

Source of term.

Definition at line 602 of file flecs.h.


The documentation for this struct was generated from the following file: