Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::vm::detail::QueryCompileCtx Struct Reference

Classes

struct  SourceTermOp
 
struct  VarProgram
 
struct  VarProgramStep
 
struct  VarSearchMeta
 
struct  VarTermOp
 

Public Member Functions

GAIA_NODISCARD bool has_src_terms () const
 
GAIA_NODISCARD bool has_variable_terms () const
 
GAIA_NODISCARD bool has_id_terms () const
 

Public Attributes

cnt::darray< CompiledOpops
 
uint16_t mainOpsCount = 0
 
cnt::sarray_ext< Entity, MAX_ITEMS_IN_QUERY > ids_all
 Array of ops that can be evaluated with a ALL opcode.
 
cnt::sarray_ext< Entity, MAX_ITEMS_IN_QUERY > ids_or
 Array of ops that can be evaluated with a OR opcode.
 
cnt::sarray_ext< Entity, MAX_ITEMS_IN_QUERY > ids_not
 Array of ops that can be evaluated with a NOT opcode.
 
cnt::sarray_ext< SourceTermOp, MAX_ITEMS_IN_QUERY > terms_all_src
 Source lookup terms for ALL.
 
cnt::sarray_ext< SourceTermOp, MAX_ITEMS_IN_QUERY > terms_or_src
 Source lookup terms for OR.
 
cnt::sarray_ext< SourceTermOp, MAX_ITEMS_IN_QUERY > terms_not_src
 Source lookup terms for NOT.
 
cnt::sarray_ext< VarTermOp, MAX_ITEMS_IN_QUERY > terms_all_var
 Variable terms for ALL.
 
cnt::sarray_ext< VarTermOp, MAX_ITEMS_IN_QUERY > terms_or_var
 Variable terms for OR.
 
cnt::sarray_ext< VarTermOp, MAX_ITEMS_IN_QUERY > terms_not_var
 Variable terms for NOT.
 
cnt::sarray_ext< VarTermOp, MAX_ITEMS_IN_QUERY > terms_any_var
 Variable terms for ANY.
 
cnt::sarray_ext< VarProgramStep, MaxVarCnt > var_programs
 Variable programs.
 
uint8_t varMaskAll = 0
 Variable masks (Var0..Var7) used by variable terms.
 
uint8_t varMaskOr = 0
 
uint8_t varMaskNot = 0
 
uint8_t varMaskAny = 0
 

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