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

Detailed Description

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

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

◆ first

ecs_term_id_t ecs_term_t::first

Component or first element of pair.

Definition at line 765 of file flecs.h.

◆ flags

ecs_flags16_t ecs_term_t::flags

Flags that help eval, set by ecs_filter_init.

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

◆ id_flags

ecs_id_t ecs_term_t::id_flags

Id flags of term id.

Definition at line 771 of file flecs.h.

◆ idr

ecs_id_record_t* ecs_term_t::idr

Cached pointer to internal index.

Definition at line 775 of file flecs.h.

◆ inout

ecs_inout_kind_t ecs_term_t::inout

Access to contents matched by term.

Definition at line 768 of file flecs.h.

◆ move

bool ecs_term_t::move

Used by internals.

Definition at line 779 of file flecs.h.

◆ name

char* ecs_term_t::name

Name of term.

Definition at line 772 of file flecs.h.

◆ oper

ecs_oper_kind_t ecs_term_t::oper

Operator of term.

Definition at line 769 of file flecs.h.

◆ second

ecs_term_id_t ecs_term_t::second

Second element of pair.

Definition at line 766 of file flecs.h.

◆ src

ecs_term_id_t ecs_term_t::src

Source of term.

Definition at line 764 of file flecs.h.


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