flecs::entity_t type_id()
Get id currently assigned to component.
Class for reading/writing dynamic values.
flecs::entity get_type() const
Get type of value.
int set_bool(bool value)
Set boolean value.
int set_string_literal(const char *value)
Set string literal value.
const char * get_string() const
Get string value.
int set_int(int64_t value)
Set signed int value.
int member(const char *name)
Move to member by name.
uint64_t get_uint() const
Get unsigned int value.
char get_char() const
Get char value.
int elem(int32_t elem)
Move to element by index.
bool get_bool() const
Get boolean value.
int set_float(double value)
Set float value.
double get_float() const
Get float value.
int set_char(char value)
Set char value.
flecs::string_view get_member() const
Get member name.
int set_null()
Set null value.
bool is_collection()
Test if current scope is a collection type.
int push()
Push value scope (such as a nested struct)
int set_id(flecs::id_t value)
Set (component) id value.
int set_uint(uint64_t value)
Set unsigned int value.
int set_string(const char *value)
Set string value.
int pop()
Pop value scope.
int64_t get_int() const
Get signed int value.
flecs::entity get_entity() const
Get entity value.
int set_entity(flecs::entity_t value)
Set entity value.
int next()
Move to next member/element.
flecs::entity get_unit() const
Get unit of value.
void * get_ptr()
Get untyped pointer to value.
ecs_meta_cursor_t cursor_
Cursor object.