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

Owning committed row-host orientation; native cursor sources never invent ordinals. More...

#include <virtual_rows.hpp>

Public Member Functions

bool operator== (const VirtualRowsPosition &other) const =default

Public Attributes

ModelResource resource
 Exact accepted source identity.
std::optional< RowId > current
 Stable current record, independent of keyboard focus.
std::optional< std::uint64_t > currentIndex
 Zero-based finite ordinal, absent for native cursors.
std::optional< std::uint64_t > firstIndex
 First visible finite ordinal, absent for native cursors.
std::size_t visible {}
 Ready visible row assignments, excluding retained edit state.
std::optional< std::uint64_t > count
 Exact finite extent; never an estimate.
std::optional< bool > hasBefore
 Known backward availability, absent when unknown.
std::optional< bool > hasAfter
 Known forward availability, absent when unknown.
std::optional< WindowStatus > windowStatus
 Native delivery state, absent for finite sources.
bool editing {}
 Focus is inside the current row's real controls.

Detailed Description

Owning committed row-host orientation; native cursor sources never invent ordinals.

Member Function Documentation

◆ operator==()

bool portals::VirtualRowsPosition::operator== ( const VirtualRowsPosition & other) const
default
Parameters
otherOwning orientation snapshot.
Returns
Whether every published fact agrees.

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