Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
consolidationaudit2d.h
Go to the documentation of this file.
1/**
2 * @file consolidationaudit2d.h
3 * @brief Declares cross-cutting static consistency checks for all guided QPE presets.
4 * @ingroup qpe_experiments
5 *
6 * Source: @c core/experiments/consolidationaudit2d.h. This file is part of Quantum Phenomena Explorer (QPE),
7 * maintained by Officina Turini. See LICENSE_IT.txt / LICENSE.txt for the
8 * QPE freeware source-available terms and THIRD_PARTY_NOTICES.txt for
9 * third-party components.
10 */
11
12#pragma once
13
14#include <string>
15#include <vector>
16
17namespace qpe {
18
19/**
20 * @brief Enumerates the supported Consolidation Audit Status2D values.
21 *
22 * The enumeration is part of the typed interface used to keep experiment configuration and analysis routing explicit.
23 */
25{
26 Pass,
27 Warning,
28 Fail
29};
30
31/**
32 * @brief Data structure used by the Consolidation Preset Audit2D component.
33 *
34 * The structure keeps related values explicit and testable across the QPE physics, analysis, or persistence layers.
35 */
45
46/**
47 * @brief Data structure used by the Consolidation Audit Summary2D component.
48 *
49 * The structure keeps related values explicit and testable across the QPE physics, analysis, or persistence layers.
50 */
52{
53 int passCount = 0;
54 int warningCount = 0;
55 int failCount = 0;
56 std::vector<ConsolidationPresetAudit2D> presets;
57
58 /**
59 * @brief Carries out ok.
60 */
61 bool ok() const noexcept { return failCount == 0; }
62};
63
64/**
65 * @brief Static cross-cutting audit for the frozen guided experiment catalog.
66 *
67 * The audit checks catalog alignment, unique identifiers, finite/legal parameters, Analysis routing, Help coverage, potential scenes, and representative physical scales before release.
68 */
70{
71public:
72 /**
73 * @brief Performs audit guided presets.
74 */
76 /**
77 * @brief Performs status name.
78 * @param status The status value used by the operation.
79 */
80 static const char *statusName(ConsolidationAuditStatus2D status) noexcept;
81};
82
83} // namespace qpe
Static cross-cutting audit for the frozen guided experiment catalog.
static ConsolidationAuditSummary2D auditGuidedPresets()
Performs audit guided presets.
static const char * statusName(ConsolidationAuditStatus2D status) noexcept
Performs status name.
ConsolidationAuditStatus2D
Enumerates the supported Consolidation Audit Status2D values.
Data structure used by the Consolidation Audit Summary2D component.
bool ok() const noexcept
Carries out ok.
std::vector< ConsolidationPresetAudit2D > presets
Data structure used by the Consolidation Preset Audit2D component.
ConsolidationAuditStatus2D status