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

Nongeneric typed scalar rule for bounded array construction. Selector views refer exclusively to static template-owned identities produced by flatRule(). The final compactSheet() copies every identity into one owning text arena. No expression or callback survives. More...

#include <style_pss.hpp>

Public Member Functions

constexpr FlatRule ()=default
 Construct a universal empty rule without borrowed names.
constexpr std::string_view type () const noexcept
constexpr std::string_view id () const noexcept
constexpr std::span< const std::string_view > classes () const noexcept
constexpr StyleState state () const noexcept
constexpr bool readOnly () const noexcept
constexpr const StyleDeclarations & values () const noexcept

Friends

struct detail::FlatRuleAccess

Detailed Description

Nongeneric typed scalar rule for bounded array construction. Selector views refer exclusively to static template-owned identities produced by flatRule(). The final compactSheet() copies every identity into one owning text arena. No expression or callback survives.

Member Function Documentation

◆ classes()

std::span< const std::string_view > portals::style::ct::FlatRule::classes ( ) const
inlineconstexprnoexcept
Returns
Static template-owned conjunction class identities.

◆ id()

std::string_view portals::style::ct::FlatRule::id ( ) const
inlineconstexprnoexcept
Returns
Static template-owned optional target identity.

◆ readOnly()

bool portals::style::ct::FlatRule::readOnly ( ) const
inlineconstexprnoexcept
Returns
Orthogonal read-only predicate.

◆ state()

StyleState portals::style::ct::FlatRule::state ( ) const
inlineconstexprnoexcept
Returns
Validated existing presentation state.

◆ type()

std::string_view portals::style::ct::FlatRule::type ( ) const
inlineconstexprnoexcept
Returns
Static template-owned type identity, empty for universal matching.

◆ values()

const StyleDeclarations & portals::style::ct::FlatRule::values ( ) const
inlineconstexprnoexcept
Returns
Validated scalar snapshot with absent properties preserved.

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