|
entttree 0.1.0
Hierarchical entity management for EnTT
|
Internal representation of a child in the sorted children cache. More...
#include <hierarchy_types.h>
Public Member Functions | |
| std::strong_ordering | operator<=> (const ChildEntry &other) const |
| bool | operator== (const ChildEntry &other) const =default |
| bool | operator< (const ChildEntry &other) const |
Public Attributes | |
| entt::entity | eid |
| Child entity. | |
| Position | position |
| Sibling ordering key. | |
Internal representation of a child in the sorted children cache.
Ordered first by Position, then by entity ID to break ties.
Definition at line 106 of file hierarchy_types.h.
|
inline |
Definition at line 117 of file hierarchy_types.h.
|
inline |
Definition at line 110 of file hierarchy_types.h.
| entt::entity entttree::ChildEntry::eid |
Child entity.
Definition at line 107 of file hierarchy_types.h.
Referenced by entttree::HierarchySystem< HTag >::order_child_before(), entttree::HierarchySystem< HTag >::set_child_position(), and entttree::HierarchySystem< HTag >::set_parent().
| Position entttree::ChildEntry::position |
Sibling ordering key.
Definition at line 108 of file hierarchy_types.h.
Referenced by entttree::HierarchySystem< HTag >::set_child_position(), and entttree::HierarchySystem< HTag >::set_parent().