|
template<class U > |
constexpr | ID (ID< U > id) noexcept |
| Changes the type of the identifier item.
|
|
uint32_t | operator* () const noexcept |
| Returns item index + 1 in the linear pool.
|
|
uint32_t & | operator* () noexcept |
| Returns reference to the item index + 1 in the linear pool.
|
|
constexpr bool | operator== (ID v) const noexcept |
| Returns true if this identifier is equal to the v identifier.
|
|
constexpr bool | operator!= (ID v) const noexcept |
| Returns true if this identifier is not equal to the v identifier.
|
|
constexpr bool | operator< (ID v) const noexcept |
| Returns true if this identifier is less than the v identifier.
|
|
constexpr | operator bool () const noexcept |
| Returns true if item is not null.
|
|
template<class T>
struct ecsm::ID< T >
Item identifier in the LinearPool.
- Template Parameters
-
T | type of the item in the linear pool |
Identifier or index associated with individual items within the pool. Each item in the pool can be uniquely identified by its identifier, which helps in managing and referencing items.