Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::WindowPin< T > Class Template Reference

Owning immutable committed window, containing at most four bounded pages. More...

#include <window_source.hpp>

Public Member Functions

 WindowPin ()=default
 Empty pin.
std::size_t pageCount () const noexcept
std::size_t size () const noexcept
WindowPage< T > page (std::size_t index) const noexcept
SourceCursor continuation () const noexcept
SourceEdge edge () const noexcept
std::uint64_t dataRevision () const noexcept

Friends

template<class>
class WindowConsumer

Detailed Description

template<class T>
class portals::WindowPin< T >

Owning immutable committed window, containing at most four bounded pages.

Template Parameters
TImmutable row value; copying a pin never copies rows or allocates.

Member Function Documentation

◆ continuation()

template<class T>
SourceCursor portals::WindowPin< T >::continuation ( ) const
inlinenoexcept
Returns
Continuation in the requested direction; invalid for an empty pin.

◆ dataRevision()

template<class T>
std::uint64_t portals::WindowPin< T >::dataRevision ( ) const
inlinenoexcept
Returns
Immutable data/readiness revision, or zero for an empty pin.

◆ edge()

template<class T>
SourceEdge portals::WindowPin< T >::edge ( ) const
inlinenoexcept
Returns
Explicit edge at continuation; never inferred from size().

◆ page()

template<class T>
WindowPage< T > portals::WindowPin< T >::page ( std::size_t index) const
inlinenoexcept
Parameters
indexPage in [0,pageCount()).
Returns
Owning page, or an empty page for an invalid index.

◆ pageCount()

template<class T>
std::size_t portals::WindowPin< T >::pageCount ( ) const
inlinenoexcept
Returns
Number of pages in this local window, never a source extent.

◆ size()

template<class T>
std::size_t portals::WindowPin< T >::size ( ) const
inlinenoexcept
Returns
Number of rows in this local window, never a source extent.

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