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

Exact source identity independent of a result model's publication revision. More...

#include <search.hpp>

Public Member Functions

bool operator== (const SearchSourceIdentity &other) const noexcept

Public Attributes

std::weak_ptr< const void > owner
 Control-block identity without retaining arbitrary source payload.
const void * pin {}
 Exact source snapshot address, compared together with owner identity.
std::uint64_t revision {}
 Domain source revision.
std::uint64_t session {}
 Provider/projection instance; nonzero and never recycled.
std::uint64_t normalizationVersion {1}
 Canonical-compose/full-casefold mapping algorithm version.
WidthPolicy width
 Complete text measurement policy.

Detailed Description

Exact source identity independent of a result model's publication revision.

Member Function Documentation

◆ operator==()

bool portals::SearchSourceIdentity::operator== ( const SearchSourceIdentity & other) const
inlinenoexcept
Parameters
otherExact identity to compare, including owner control block.
Returns
True only for the same immutable source and projection/normalization policy.

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