SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::project::SlotPreview Struct Reference

Per-slot preview row returned by the normalizer. More...

#include <ioportabilitynormalizer.h>

Collaboration diagram for openswmmvis::project::SlotPreview:

Public Attributes

int role = 0
 SWMM_FilePathRole numeric value.
 
QString role_label
 Human-readable role name.
 
QString owner
 Empty for scalar slots.
 
QString original
 Token currently stored on the engine.
 
QString absolute
 Resolved absolute path (or empty).
 
QString preview_relative
 What the writer would emit (INP only).
 
bool crosses_volume = false
 
bool file_missing = false
 
QString warning
 Empty on a clean slot.
 

Detailed Description

Per-slot preview row returned by the normalizer.

Carries enough information for the GUI to (a) display the slot in a "Paths" review pane, (b) flag any portability issue, and (c) provide a one-click "rebase" hint that the user can confirm or override.

Member Data Documentation

◆ absolute

QString openswmmvis::project::SlotPreview::absolute

Resolved absolute path (or empty).

◆ crosses_volume

bool openswmmvis::project::SlotPreview::crosses_volume = false

◆ file_missing

bool openswmmvis::project::SlotPreview::file_missing = false

◆ original

QString openswmmvis::project::SlotPreview::original

Token currently stored on the engine.

◆ owner

QString openswmmvis::project::SlotPreview::owner

Empty for scalar slots.

◆ preview_relative

QString openswmmvis::project::SlotPreview::preview_relative

What the writer would emit (INP only).

◆ role

int openswmmvis::project::SlotPreview::role = 0

SWMM_FilePathRole numeric value.

◆ role_label

QString openswmmvis::project::SlotPreview::role_label

Human-readable role name.

◆ warning

QString openswmmvis::project::SlotPreview::warning

Empty on a clean slot.


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