Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::SingleArchetypeLookupItem Struct Reference

One lookup-key record collected while indexing a single archetype. More...

#include <query_common.h>

Public Member Functions

GAIA_NODISCARD bool matches (EntityLookupKey other) const
 Tests whether this item represents a lookup key.
 

Public Attributes

EntityLookupKey key = EntityBadLookupKey
 Entity or wildcard-pair lookup key represented by this record.
 
ComponentIndexEntry entry {}
 Reverse-index data associated with key.
 

Detailed Description

One lookup-key record collected while indexing a single archetype.

Member Function Documentation

◆ matches()

GAIA_NODISCARD bool gaia::ecs::SingleArchetypeLookupItem::matches ( EntityLookupKey  other) const
inline

Tests whether this item represents a lookup key.

Parameters
otherLookup key to compare.
Returns
True when other equals key.

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