Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::type Struct Reference

Type class. More...

#include <type.hpp>

Public Member Functions

 type (world_t *world, const type_t *t)
 
flecs::string str () const
 Convert type to comma-separated string.
 
int32_t count () const
 Return number of ids in type.
 
flecs::id_t * array () const
 Return pointer to array.
 
flecs::id get (int32_t index) const
 Get id at specified index in type.
 
flecs::id_t * begin () const
 
flecs::id_t * end () const
 
 operator const type_t * () const
 Implicit conversion to type_t.
 

Detailed Description

Type class.

A type is a vector of component ids which can be requested from entities or tables.

Definition at line 21 of file type.hpp.


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