Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::EntityLookupKey Struct Reference

Hashmap lookup structure used for Entity. More...

#include <id.h>

Public Types

using LookupHash = core::direct_hash_key< uint64_t >
 

Public Member Functions

 EntityLookupKey (Entity entity)
 
 EntityLookupKey (const EntityLookupKey &)=default
 
 EntityLookupKey (EntityLookupKey &&) noexcept=default
 
EntityLookupKeyoperator= (const EntityLookupKey &)=default
 
EntityLookupKeyoperator= (EntityLookupKey &&) noexcept=default
 
Entity entity () const
 
size_t hash () const
 
bool operator== (const EntityLookupKey &other) const
 
bool operator!= (const EntityLookupKey &other) const
 

Static Public Attributes

static constexpr bool IsDirectHashKey = true
 

Detailed Description

Hashmap lookup structure used for Entity.


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