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

Public Attributes

ecs_entity_t type
 The type being iterated. More...
 
ecs_meta_type_op_tops
 The type operations (see ecs_meta_type_op_t) More...
 
int32_t op_count
 Number of operations in ops array to process. More...
 
int32_t op_cur
 Current operation. More...
 
int32_t elem_cur
 Current element (for collections) More...
 
int32_t prev_depth
 Depth to restore, in case dotmember was used. More...
 
void * ptr
 Pointer to the value being iterated. More...
 
const EcsComponentcomp
 Pointer to component, in case size/alignment is needed. More...
 
const EcsOpaqueopaque
 Opaque type interface. More...
 
ecs_vec_t * vector
 Current vector, in case a vector is iterated. More...
 
ecs_hashmap_t * members
 string -> member index More...
 
bool is_collection
 Is the scope iterating elements? More...
 
bool is_inline_array
 Is the scope iterating an inline array? More...
 
bool is_empty_scope
 Was scope populated (for collections) More...
 

Detailed Description

Definition at line 511 of file meta.h.

Member Data Documentation

◆ comp

const EcsComponent* ecs_meta_scope_t::comp

Pointer to component, in case size/alignment is needed.

Definition at line 520 of file meta.h.

◆ elem_cur

int32_t ecs_meta_scope_t::elem_cur

Current element (for collections)

Definition at line 516 of file meta.h.

◆ is_collection

bool ecs_meta_scope_t::is_collection

Is the scope iterating elements?

Definition at line 524 of file meta.h.

◆ is_empty_scope

bool ecs_meta_scope_t::is_empty_scope

Was scope populated (for collections)

Definition at line 526 of file meta.h.

◆ is_inline_array

bool ecs_meta_scope_t::is_inline_array

Is the scope iterating an inline array?

Definition at line 525 of file meta.h.

◆ members

ecs_hashmap_t* ecs_meta_scope_t::members

string -> member index

Definition at line 523 of file meta.h.

◆ op_count

int32_t ecs_meta_scope_t::op_count

Number of operations in ops array to process.

Definition at line 514 of file meta.h.

◆ op_cur

int32_t ecs_meta_scope_t::op_cur

Current operation.

Definition at line 515 of file meta.h.

◆ opaque

const EcsOpaque* ecs_meta_scope_t::opaque

Opaque type interface.

Definition at line 521 of file meta.h.

◆ ops

ecs_meta_type_op_t* ecs_meta_scope_t::ops

The type operations (see ecs_meta_type_op_t)

Definition at line 513 of file meta.h.

◆ prev_depth

int32_t ecs_meta_scope_t::prev_depth

Depth to restore, in case dotmember was used.

Definition at line 517 of file meta.h.

◆ ptr

void* ecs_meta_scope_t::ptr

Pointer to the value being iterated.

Definition at line 518 of file meta.h.

◆ type

ecs_entity_t ecs_meta_scope_t::type

The type being iterated.

Definition at line 512 of file meta.h.

◆ vector

ecs_vec_t* ecs_meta_scope_t::vector

Current vector, in case a vector is iterated.

Definition at line 522 of file meta.h.


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