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

Immutable bounded selected identities; copies share payload without allocating. More...

#include <managed_navigation.hpp>

Public Member Functions

 NavigationSelection ()=default
 Empty selection, without allocating.
std::span< const RowId > rows () const noexcept
ModelResource resource () const noexcept
PositionResolution resolution () const noexcept
bool operator== (const NavigationSelection &other) const noexcept

Friends

class ManagedNavigation
class ManagedScene
struct detail::ManagedNavigationRecord

Detailed Description

Immutable bounded selected identities; copies share payload without allocating.

Member Function Documentation

◆ operator==()

bool portals::NavigationSelection::operator== ( const NavigationSelection & other) const
noexcept
Parameters
otherSelection to compare by complete identities in canonical order.
Returns
True when both selected sets match.

◆ resolution()

PositionResolution portals::NavigationSelection::resolution ( ) const
noexcept
Returns
Declared identity outcome; manual nonempty sets are EXACT, empty sets are EMPTY.

◆ resource()

ModelResource portals::NavigationSelection::resource ( ) const
noexcept
Returns
Domain qualifying every selected RowId, including an empty selected set.

◆ rows()

std::span< const RowId > portals::NavigationSelection::rows ( ) const
noexcept
Returns
Borrowed logical selected identities in resource()'s domain, valid while this value or a copy survives. IDs alone do not prove current row presence/readiness. Unresolved restoration metadata must not be applied as confirmed selection in another resource domain.

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