Flecs: EcsIdentifier Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
Public Attributes | List of all members
EcsIdentifier Struct Reference
C API » Core » API types » Builtin component types.

A (string) identifier. More...

`#include <flecs.h>`

## Public Attributes
char * | value
| Identifier string.
ecs_size_t | length
| Length of identifier.
uint64_t | hash
| Hash of current value.
uint64_t | index_hash
| Hash of existing record in current index.
ecs_hashmap_t * | index
| Current index.

## Detailed Description

A (string) identifier.

Used as pair with EcsName and EcsSymbol tags

Definition at line 1441 of file flecs.h.

## Member Data Documentation

## ◆ hash

uint64_t EcsIdentifier::hash

Hash of current value.

Definition at line 1444 of file flecs.h.

## ◆ index

ecs_hashmap_t* EcsIdentifier::index

Current index.

Definition at line 1446 of file flecs.h.

## ◆ index_hash

uint64_t EcsIdentifier::index_hash

Hash of existing record in current index.

Definition at line 1445 of file flecs.h.

## ◆ length

ecs_size_t EcsIdentifier::length

Length of identifier.

Definition at line 1443 of file flecs.h.

## ◆ value

char* EcsIdentifier::value

Identifier string.

Definition at line 1442 of file flecs.h.

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

- include/flecs.h