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

Public Attributes

ecs_entity_t as_type
 Type that describes the serialized output. More...
ecs_meta_serialize_t serialize
 Serialize action. More...
void(* assign_bool )(void *dst, bool value)
 Assign bool value. More...
void(* assign_char )(void *dst, char value)
 Assign char value. More...
void(* assign_int )(void *dst, int64_t value)
 Assign int value. More...
void(* assign_uint )(void *dst, uint64_t value)
 Assign unsigned int value. More...
void(* assign_float )(void *dst, double value)
 Assign float value. More...
void(* assign_string )(void *dst, const char *value)
 Assign string value. More...
void(* assign_entity )(void *dst, ecs_world_t *world, ecs_entity_t entity)
 Assign entity value. More...
void(* assign_null )(void *dst)
 Assign null value. More...
void(* clear )(void *dst)
 Clear collection elements. More...
void *(* ensure_element )(void *dst, size_t elem)
 Ensure & get collection element. More...
void *(* ensure_member )(void *dst, const char *member)
 Ensure & get element. More...
size_t(* count )(const void *dst)
 Return number of elements. More...
void(* resize )(void *dst, size_t count)
 Resize to number of elements. More...

Detailed Description

Definition at line 351 of file meta.h.

Member Data Documentation

◆ as_type

ecs_entity_t EcsOpaque::as_type

Type that describes the serialized output.

Definition at line 352 of file meta.h.

◆ assign_bool

void(* EcsOpaque::assign_bool) (void *dst, bool value)

Assign bool value.

Definition at line 362 of file meta.h.

◆ assign_char

void(* EcsOpaque::assign_char) (void *dst, char value)

Assign char value.

Definition at line 367 of file meta.h.

◆ assign_entity

void(* EcsOpaque::assign_entity) (void *dst, ecs_world_t *world, ecs_entity_t entity)

Assign entity value.

Definition at line 392 of file meta.h.

◆ assign_float

void(* EcsOpaque::assign_float) (void *dst, double value)

Assign float value.

Definition at line 382 of file meta.h.

◆ assign_int

void(* EcsOpaque::assign_int) (void *dst, int64_t value)

Assign int value.

Definition at line 372 of file meta.h.

◆ assign_null

void(* EcsOpaque::assign_null) (void *dst)

Assign null value.

Definition at line 398 of file meta.h.

◆ assign_string

void(* EcsOpaque::assign_string) (void *dst, const char *value)

Assign string value.

Definition at line 387 of file meta.h.

◆ assign_uint

void(* EcsOpaque::assign_uint) (void *dst, uint64_t value)

Assign unsigned int value.

Definition at line 377 of file meta.h.

◆ clear

void(* EcsOpaque::clear) (void *dst)

Clear collection elements.

Definition at line 402 of file meta.h.

◆ count

size_t(* EcsOpaque::count) (const void *dst)

Return number of elements.

Definition at line 416 of file meta.h.

◆ ensure_element

void *(* EcsOpaque::ensure_element) (void *dst, size_t elem)

Ensure & get collection element.

Definition at line 406 of file meta.h.

◆ ensure_member

void *(* EcsOpaque::ensure_member) (void *dst, const char *member)

Ensure & get element.

Definition at line 411 of file meta.h.

◆ resize

void(* EcsOpaque::resize) (void *dst, size_t count)

Resize to number of elements.

Definition at line 420 of file meta.h.

◆ serialize

ecs_meta_serialize_t EcsOpaque::serialize

Serialize action.

Definition at line 353 of file meta.h.

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