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_tidr
 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 720 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 736 of file flecs.h.

◆ first

ecs_term_id_t ecs_term_t::first

Component or first element of pair.

Definition at line 727 of file flecs.h.

◆ flags

ecs_flags16_t ecs_term_t::flags

Flags that help eval, set by ecs_filter_init.

Definition at line 739 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 721 of file flecs.h.

◆ id_flags

ecs_id_t ecs_term_t::id_flags

Id flags of term id.

Definition at line 733 of file flecs.h.

◆ idr

ecs_id_record_t* ecs_term_t::idr

Cached pointer to internal index.

Definition at line 737 of file flecs.h.

◆ inout

ecs_inout_kind_t ecs_term_t::inout

Access to contents matched by term.

Definition at line 730 of file flecs.h.

◆ move

bool ecs_term_t::move

Used by internals.

Definition at line 741 of file flecs.h.

◆ name

char* ecs_term_t::name

Name of term.

Definition at line 734 of file flecs.h.

◆ oper

ecs_oper_kind_t ecs_term_t::oper

Operator of term.

Definition at line 731 of file flecs.h.

◆ second

ecs_term_id_t ecs_term_t::second

Second element of pair.

Definition at line 728 of file flecs.h.

◆ src

ecs_term_id_t ecs_term_t::src

Source of term.

Definition at line 726 of file flecs.h.


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