Null object for all identifiers.
More...
#include <entity.hpp>
|
template<typename Entity > |
constexpr | operator Entity () const noexcept |
| Converts the null object to identifiers of any type.
|
|
constexpr bool | operator== (const null_t other) const noexcept |
| Compares two null objects.
|
|
constexpr bool | operator!= (const null_t other) const noexcept |
| Compares two null objects.
|
|
template<typename Entity > |
constexpr bool | operator== (const Entity entity) const noexcept |
| Compares a null object and an identifier of any type.
|
|
template<typename Entity > |
constexpr bool | operator!= (const Entity entity) const noexcept |
| Compares a null object and an identifier of any type.
|
|
Null object for all identifiers.
Definition at line 197 of file entity.hpp.
◆ operator Entity()
template<typename Entity >
constexpr entt::null_t::operator Entity |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Converts the null object to identifiers of any type.
- Template Parameters
-
Entity | Type of identifier. |
- Returns
- The null representation for the given type.
Definition at line 204 of file entity.hpp.
◆ operator!=() [1/2]
template<typename Entity >
constexpr bool entt::null_t::operator!= |
( |
const Entity |
entity | ) |
const |
|
inlineconstexprnoexcept |
Compares a null object and an identifier of any type.
- Template Parameters
-
Entity | Type of identifier. |
- Parameters
-
entity | Identifier with which to compare. |
- Returns
- True if the two elements differ, false otherwise.
Definition at line 247 of file entity.hpp.
◆ operator!=() [2/2]
constexpr bool entt::null_t::operator!= |
( |
const null_t |
other | ) |
const |
|
inlineconstexprnoexcept |
Compares two null objects.
- Parameters
-
- Returns
- False in all cases.
Definition at line 224 of file entity.hpp.
◆ operator==() [1/2]
template<typename Entity >
constexpr bool entt::null_t::operator== |
( |
const Entity |
entity | ) |
const |
|
inlineconstexprnoexcept |
Compares a null object and an identifier of any type.
- Template Parameters
-
Entity | Type of identifier. |
- Parameters
-
entity | Identifier with which to compare. |
- Returns
- False if the two elements differ, true otherwise.
Definition at line 235 of file entity.hpp.
◆ operator==() [2/2]
constexpr bool entt::null_t::operator== |
( |
const null_t |
other | ) |
const |
|
inlineconstexprnoexcept |
Compares two null objects.
- Parameters
-
- Returns
- True in all cases.
Definition at line 215 of file entity.hpp.
The documentation for this struct was generated from the following file: