|
| | table () |
| | Default constructor.
|
| | table (world_t *world, table_t *t) |
| | Construct a table from a world and C table pointer.
|
| virtual | ~table () |
| | Destructor.
|
| flecs::string | str () const |
| | Convert the table type to a string.
|
| flecs::type | type () const |
| | Get the table type.
|
| int32_t | count () const |
| | Get the table count.
|
| int32_t | size () const |
| | Get the number of allocated elements in the table.
|
| const flecs::entity_t * | entities () const |
| | Get the array of entity IDs.
|
| void | clear_entities () const |
| | Delete entities in the table.
|
| template<typename... T, typename... Args> |
| int32_t | type_index (Args... args) const |
| template<typename... T, typename... Args> |
| int32_t | column_index (Args... args) const |
| template<typename... T, typename... Args> |
| bool | has (Args... args) const |
| virtual void * | get_column (int32_t index) const |
| | Get a pointer to the component array by column index.
|
| template<typename... T, typename... Args> |
| auto | try_get (Args... args) const |
| template<typename... T, typename... Args> |
| auto | get (Args... args) const |
| size_t | column_size (int32_t index) const |
| | Get the column size.
|
| int32_t | depth (flecs::entity_t rel) const |
| | Get the depth for a given relationship.
|
| template<typename Rel> |
| int32_t | depth () const |
| | Get the depth for a given relationship.
|
| ecs_table_records_t | records () const |
| | Get the table records array.
|
| uint64_t | id () const |
| | Get the table ID.
|
| void | lock () const |
| | Lock the table.
|
| void | unlock () const |
| | Unlock the table.
|
| bool | has_flags (ecs_flags32_t flags) const |
| | Check if the table has flags.
|
| table_t * | get_table () const |
| | Get the table.
|
| | operator table_t * () const |
| | Implicit conversion to table_t*.
|
Table.
A table stores entities with the same set of components.
Definition at line 23 of file table.hpp.