Flecs v3.1
A fast entity component system (ECS) for C & C++
No Matches
EcsIdentifier Struct Reference

A (string) identifier. More...

#include <flecs.h>

Public Attributes

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

Detailed Description

A (string) identifier.

Used as pair with EcsName and EcsSymbol tags

Definition at line 1008 of file flecs.h.

Member Data Documentation

◆ hash

uint64_t EcsIdentifier::hash

Hash of current value.

Definition at line 1011 of file flecs.h.

◆ index

ecs_hashmap_t* EcsIdentifier::index

Current index.

Definition at line 1013 of file flecs.h.

◆ index_hash

uint64_t EcsIdentifier::index_hash

Hash of existing record in current index.

Definition at line 1012 of file flecs.h.

◆ length

ecs_size_t EcsIdentifier::length

Length of identifier.

Definition at line 1010 of file flecs.h.

◆ value

char* EcsIdentifier::value

Identifier string.

Definition at line 1009 of file flecs.h.

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