22 type() : world_(
nullptr), type_(
nullptr) { }
51 ecs_assert(type_ != NULL, ECS_INVALID_PARAMETER, NULL);
59 flecs::id_t* begin()
const {
63 flecs::id_t* end()
const {
#define ecs_assert(condition, error_code,...)
Assert.
flecs::id_t * array() const
Return pointer to array.
int32_t count() const
Return number of ids in type.
flecs::string str() const
Convert type to comma-separated string.
flecs::id get(int32_t index) const
Get id at specified index in type.
char * ecs_type_str(const ecs_world_t *world, const ecs_type_t *type)
Convert type to string.
A type is a list of (component) ids.
ecs_id_t * array
Array with ids.
int32_t count
Number of elements in array.
Class that wraps around a flecs::id_t.