|
|
template<typename T , typename = std::enable_if_t<std::is_same_v<T, Identifier>>> |
| constexpr | Entity (T value) noexcept |
| | We need the entity to be braces-constructible and at the same type prevent it from getting constructed accidentally from an int (e.g .Entity::id()). Therefore, only allow Entity(Identifier) to be used.
|
| |
|
| Entity (EntityId id, IdentifierData gen) noexcept |
| | Special constructor for cnt::ilist.
|
| |
|
| Entity (EntityId id, IdentifierData gen, bool isEntity, bool isPair, EntityKind kind) noexcept |
| |
|
GAIA_NODISCARD constexpr auto | id () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | gen () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | entity () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | pair () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | comp () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | kind () const noexcept |
| |
|
GAIA_NODISCARD constexpr auto | value () const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator== (Entity other) const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator!= (Entity other) const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator< (Entity other) const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator<= (Entity other) const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator> (Entity other) const noexcept |
| |
|
GAIA_NODISCARD constexpr bool | operator>= (Entity other) const noexcept |
| |