Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
qpe::AnalysisPageCatalog2D Class Reference

Central catalog mapping guided presets to Analysis pages. More...

#include <analysispage2d.h>

Static Public Member Functions

static int presetCount () noexcept
 Performs preset count.
 
static bool isValidPreset (int presetIndex) noexcept
 Returns whether valid preset.
 
static AnalysisPage2D pageForPreset (int presetIndex) noexcept
 Performs page for preset.
 
static const char * pageId (AnalysisPage2D page) noexcept
 Performs page id.
 

Detailed Description

Central catalog mapping guided presets to Analysis pages.

Keeping this mapping outside MainWindow avoids scattered preset-index conditionals and makes routing independently testable.

Definition at line 68 of file analysispage2d.h.

Member Function Documentation

◆ isValidPreset()

bool qpe::AnalysisPageCatalog2D::isValidPreset ( int presetIndex)
staticnoexcept

Returns whether valid preset.

Parameters
presetIndexZero-based guided-preset index.

Definition at line 21 of file analysispage2d.cpp.

Referenced by qpe::tests::runAnalysisPage2DTests().

◆ pageForPreset()

◆ pageId()

◆ presetCount()

int qpe::AnalysisPageCatalog2D::presetCount ( )
staticnoexcept

Performs preset count.

Definition at line 16 of file analysispage2d.cpp.

Referenced by qpe::ConsolidationAudit2D::auditGuidedPresets(), and qpe::tests::runAnalysisPage2DTests().


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