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

Owning parsed declarations and provenance; input bytes need not survive the call. Metadata is not automatically installed into a scene by CT-PSS v0. More...

#include <pss_data.hpp>

Public Member Functions

 ~PssDocument ()=default
 Suppress implicit noexcept moves because checked MSVC container transfers can allocate.
bool operator== (const PssDocument &other) const =default

Public Attributes

StyleSheet sheet
 Existing source-order runtime declarations, using the existing cascade.
PssOriginKind originKind {PssOriginKind::PSS_BYTES}
 Coordinate interpretation for this document.
std::string sourceName {""}
 Owned caller-supplied source identity; empty means anonymous.
std::vector< PssRuleOrigin > origins = std::vector<PssRuleOrigin>(0)
 One origin per rule.
std::vector< PssDeclarationOrigin > declarations = std::vector<PssDeclarationOrigin>(0)
 All occurrences.

Detailed Description

Owning parsed declarations and provenance; input bytes need not survive the call. Metadata is not automatically installed into a scene by CT-PSS v0.

Member Function Documentation

◆ operator==()

bool portals::PssDocument::operator== ( const PssDocument & other) const
default
Parameters
otherOwning document to compare.
Returns
Whether declarations, identity, and complete provenance agree.

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