v2.0.0
Loading...
Searching...
No Matches
MNALIB::MnaVerification Struct Reference

Verification, explanation, and provenance for a graph node. More...

#include <mna_verification.h>

Public Member Functions

QJsonObject toJson () const
QCborMap toCbor () const

Static Public Member Functions

static MnaVerification fromJson (const QJsonObject &json)
static MnaVerification fromCbor (const QCborMap &cbor)

Public Attributes

QString explanation
 Human-readable explanation of what this node does and why.
QList< MnaVerificationCheckchecks
 Declarative checks (authored by user, evaluated by executor).
QList< MnaVerificationResultpreResults
 Results of pre-execution checks (populated by executor).
QList< MnaVerificationResultpostResults
 Results of post-execution checks (populated by executor).
MnaProvenance provenance
 Complete provenance snapshot (populated by executor).

Detailed Description

Verification, explanation, and provenance for a graph node.

Top-level verification container attached to each MnaNode. Combines human-readable explanation, declarative checks, evaluation results, and a complete provenance snapshot.

Definition at line 161 of file mna_verification.h.

Member Function Documentation

◆ fromCbor()

MnaVerification MnaVerification::fromCbor ( const QCborMap & cbor)
static

Definition at line 447 of file mna_verification.cpp.

◆ fromJson()

MnaVerification MnaVerification::fromJson ( const QJsonObject & json)
static

Definition at line 375 of file mna_verification.cpp.

◆ toCbor()

QCborMap MnaVerification::toCbor ( ) const

Definition at line 405 of file mna_verification.cpp.

◆ toJson()

QJsonObject MnaVerification::toJson ( ) const

Definition at line 333 of file mna_verification.cpp.

Member Data Documentation

◆ checks

QList<MnaVerificationCheck> MNALIB::MnaVerification::checks

Declarative checks (authored by user, evaluated by executor).

Definition at line 167 of file mna_verification.h.

◆ explanation

QString MNALIB::MnaVerification::explanation

Human-readable explanation of what this node does and why.

Definition at line 164 of file mna_verification.h.

◆ postResults

QList<MnaVerificationResult> MNALIB::MnaVerification::postResults

Results of post-execution checks (populated by executor).

Definition at line 173 of file mna_verification.h.

◆ preResults

QList<MnaVerificationResult> MNALIB::MnaVerification::preResults

Results of pre-execution checks (populated by executor).

Definition at line 170 of file mna_verification.h.

◆ provenance

MnaProvenance MNALIB::MnaVerification::provenance

Complete provenance snapshot (populated by executor).

Definition at line 176 of file mna_verification.h.


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