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

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: