![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Basic item metadata supported by ilist. More...
#include <ilist.h>
Classes | |
| struct | ItemData |
| Generation metadata associated with an item slot. More... | |
Public Member Functions | |
| ilist_item (uint32_t index, uint32_t generation) | |
| Constructs item metadata for a slot. | |
| ilist_item (const ilist_item &other) | |
| Copy-constructs item metadata. | |
| ilist_item & | operator= (const ilist_item &other) |
| Copy-assigns item metadata. | |
| ilist_item (ilist_item &&other) | |
| Move-constructs item metadata and invalidates the source metadata. | |
| ilist_item & | operator= (ilist_item &&other) |
| Move-assigns item metadata and invalidates the source metadata. | |
Public Attributes | |
| uint32_t | idx |
| Allocated items: Index in the list. Deleted items: Index of the next deleted item in the list. | |
| ItemData | data |
| Item data. | |
Basic item metadata supported by ilist.
Constructs item metadata for a slot.
| index | Slot index. |
| generation | Slot generation. |
|
inline |
Copy-constructs item metadata.
| other | Metadata to copy. |
|
inline |
Move-constructs item metadata and invalidates the source metadata.
| other | Metadata to move. |
|
inline |
Copy-assigns item metadata.
| other | Metadata to copy. |
|
inline |
Move-assigns item metadata and invalidates the source metadata.
| other | Metadata to move. |