Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::SwiftExportOptions Struct Reference

#include <design_codegen.hpp>

Public Attributes

std::string root_view_name = "ImportedPulpView"
 Generated root View struct name.
std::string theme_type_name = "PulpTheme"
 Generated theme enum/type name (code-first PulpTheme).
bool include_comments = true
bool emit_theme = true
 emit the PulpTheme.swift partition
bool emit_binding_manifest = true
 emit the minimal SwiftUI binding manifest
int indent_spaces = 4
std::vector< FidelityIssue > * fidelity_report = nullptr
 Optional fidelity sink (parity with CodeGenOptions).

Member Data Documentation

◆ emit_binding_manifest

bool pulp::view::SwiftExportOptions::emit_binding_manifest = true

emit the minimal SwiftUI binding manifest

◆ emit_theme

bool pulp::view::SwiftExportOptions::emit_theme = true

emit the PulpTheme.swift partition

◆ fidelity_report

std::vector<FidelityIssue>* pulp::view::SwiftExportOptions::fidelity_report = nullptr

Optional fidelity sink (parity with CodeGenOptions).

SwiftUI-specific layout issues are not populated yet.

◆ include_comments

bool pulp::view::SwiftExportOptions::include_comments = true

◆ indent_spaces

int pulp::view::SwiftExportOptions::indent_spaces = 4

◆ root_view_name

std::string pulp::view::SwiftExportOptions::root_view_name = "ImportedPulpView"

Generated root View struct name.

Sanitized to a Swift type name; an empty/invalid value falls back to "ImportedPulpView".

◆ theme_type_name

std::string pulp::view::SwiftExportOptions::theme_type_name = "PulpTheme"

Generated theme enum/type name (code-first PulpTheme).


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