#include <CeresEngine/Entity/EntityID.hpp>
◆ EntityID() [1/3]
| CeresEngine::EntityID::EntityID |
( |
| ) |
|
|
inlinedefaultnoexcept |
◆ EntityID() [2/3]
Creates a new entity ID by copying the contents of another.
- Parameters
-
| other | The instance to copy from |
◆ EntityID() [3/3]
Creates a new entity ID from it's index and version.
- Parameters
-
| index | The entity index |
| version | The entity version |
◆ operator=()
Assings the entity ID contents by copying the contents of another.
- Parameters
-
| other | The instance to copy from |
- Returns
- This
◆ operator!=
Compares two entity IDs for inequality.
Two entity IDs are considered equal iff their index and version match.
- Parameters
-
| a | The left hand side operator argument |
| b | The right hand side operator argument |
- Returns
- True if the two IDs can be considered equal
◆ operator<<
Prints a string representation of the Entity ID.
- Parameters
-
| os | The outut stream to print to |
| entityID | The entity ID to be printe |
- Returns
- The given
os
◆ operator==
Compares two entity IDs for equality.
Two entity IDs are considered equal iff their index and version match.
- Parameters
-
| a | The left hand side operator argument |
| b | The right hand side operator argument |
- Returns
- True if the two IDs can be considered equal
◆ index
◆ version
The documentation for this struct was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Entity/EntityID.hpp