Interned component-cache symbol identifier.
More...
#include <component_desc.h>
|
| GAIA_NODISCARD constexpr bool | valid () const noexcept |
| | Checks whether the identifier refers to an interned string.
|
| |
| GAIA_NODISCARD constexpr bool | operator== (SymbolId other) const noexcept |
| | Compares two interned identifiers.
|
| |
| GAIA_NODISCARD constexpr bool | operator!= (SymbolId other) const noexcept |
| | Compares two interned identifiers for inequality.
|
| |
|
|
uint32_t | value = UINT32_MAX |
| | Zero-based index in the owning component cache symbol table, or UINT32_MAX when unset.
|
| |
Interned component-cache symbol identifier.
◆ operator!=()
| GAIA_NODISCARD constexpr bool gaia::ecs::SymbolId::operator!= |
( |
SymbolId |
other | ) |
const |
|
inlineconstexprnoexcept |
Compares two interned identifiers for inequality.
- Parameters
-
| other | Identifier to compare. |
◆ operator==()
| GAIA_NODISCARD constexpr bool gaia::ecs::SymbolId::operator== |
( |
SymbolId |
other | ) |
const |
|
inlineconstexprnoexcept |
Compares two interned identifiers.
- Parameters
-
| other | Identifier to compare. |
◆ valid()
| GAIA_NODISCARD constexpr bool gaia::ecs::SymbolId::valid |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Checks whether the identifier refers to an interned string.
- Returns
- True when the identifier refers to an interned string.
The documentation for this struct was generated from the following file: