Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::NavigationPosition Struct Reference

Published logical position, independent of provider revisions and screen coordinates. Full revision-qualified bookmarks are read separately from ManagedNavigation::bookmark(). ITEM positions compare by complete row identity; their offset is always zero. More...

#include <managed_navigation.hpp>

Public Member Functions

bool operator== (const NavigationPosition &other) const noexcept=default

Public Attributes

ModelResource resource
 Logical source domain, including compatible-history lineage.
PositionKind kind {PositionKind::ITEM}
 Provider position kind.
std::optional< RowId > row
 Current item; empty for no-current or non-item positions.
std::uint64_t offset {}
 Logical gap/text coordinate; zero for ITEM.
PositionAffinity affinity {PositionAffinity::FORWARD}
 Explicit deletion/insertion side.
PositionResolution resolution {PositionResolution::EMPTY}
 Last declared resolution outcome.

Detailed Description

Published logical position, independent of provider revisions and screen coordinates. Full revision-qualified bookmarks are read separately from ManagedNavigation::bookmark(). ITEM positions compare by complete row identity; their offset is always zero.

Member Function Documentation

◆ operator==()

bool portals::NavigationPosition::operator== ( const NavigationPosition & other) const
defaultnoexcept
Parameters
otherLogical value to compare.
Returns
True when no navigation delivery is needed.

The documentation for this struct was generated from the following file: