Canonical ownership and ancestor coordinates for one project identity. More...
#include <model.hpp>
Public Member Functions | |
| constexpr | ItemLocation () noexcept=default |
| constexpr | ItemLocation (ItemKind item_kind, ItemId parent, ItemId sequence, ItemId track, ItemId clip, bool is_active) noexcept |
| Creates one canonical location from its kind, immediate owner, ancestors, and state. | |
| constexpr bool | has_same_owner (const ItemLocation &other) const noexcept |
| Returns whether two locations have the same kind and immediate owner. | |
| constexpr auto | operator<=> (const ItemLocation &) const =default |
Public Attributes | |
| ItemKind | kind = ItemKind::Project |
| ItemId | parent_id |
| ItemId | sequence_id |
| ItemId | track_id |
| ItemId | clip_id |
| bool | active = false |
Canonical ownership and ancestor coordinates for one project identity.
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Creates one canonical location from its kind, immediate owner, ancestors, and state.
|
inlineconstexprnoexcept |
Returns whether two locations have the same kind and immediate owner.
|
constexprdefault |
| bool pulp::timeline::ItemLocation::active = false |
| ItemId pulp::timeline::ItemLocation::clip_id |
| ItemKind pulp::timeline::ItemLocation::kind = ItemKind::Project |
| ItemId pulp::timeline::ItemLocation::parent_id |
| ItemId pulp::timeline::ItemLocation::sequence_id |
| ItemId pulp::timeline::ItemLocation::track_id |