Symphony Of Empires
|
#include <entity.hpp>
Public Types | |
using | Type = T |
Public Member Functions | |
constexpr | EntityId () noexcept=default |
constexpr | EntityId (T _id) noexcept |
constexpr | EntityId (size_t _id) noexcept |
constexpr | EntityId (EntityId< T > &&) noexcept=default |
constexpr | EntityId (const EntityId< T > &) noexcept=default |
constexpr EntityId< T > & | operator= (const EntityId< T > &) noexcept=default |
constexpr | ~EntityId () noexcept=default |
constexpr | operator size_t () const noexcept |
constexpr auto | operator== (const EntityId< T > &o) const noexcept |
constexpr auto | operator<=> (const EntityId< T > &o) const noexcept=default |
EntityId< T > & | operator++ () noexcept |
EntityId< T > & | operator-- () noexcept |
EntityId< T > | operator++ (int) noexcept |
EntityId< T > | operator-- (int) noexcept |
Public Attributes | |
T | id = invalid_id |
Static Public Attributes | |
constexpr static T | invalid_id = 0 |
Definition at line 32 of file entity.hpp.
Definition at line 33 of file entity.hpp.
Definition at line 35 of file entity.hpp.
Definition at line 35 of file entity.hpp.
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 45 of file entity.hpp.
Definition at line 55 of file entity.hpp.
Definition at line 65 of file entity.hpp.
Definition at line 60 of file entity.hpp.
Definition at line 70 of file entity.hpp.
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 49 of file entity.hpp.
T EntityId< T >::id = invalid_id |
Definition at line 35 of file entity.hpp.
|
staticconstexpr |
Definition at line 34 of file entity.hpp.