Graph node representing a processing step. More...
#include <mna_node.h>
Public Member Functions | |
| QJsonObject | toJson () const |
| QCborMap | toCbor () const |
Static Public Member Functions | |
| static MnaNode | fromJson (const QJsonObject &json) |
| static MnaNode | fromCbor (const QCborMap &cbor) |
Public Attributes | |
| QString | id |
| Unique node identifier. | |
| QString | opType |
| Operation type (looked up in MnaOpRegistry). | |
| QVariantMap | attributes |
| Operation parameters. | |
| QList< MnaPort > | inputs |
| Input ports. | |
| QList< MnaPort > | outputs |
| Output ports. | |
| MnaNodeExecMode | execMode = MnaNodeExecMode::Batch |
| Execution mode. | |
| QString | ipcCommand |
| External executable command. | |
| QStringList | ipcArgs |
| Command-line arguments (supports {{placeholder}} tokens). | |
| QString | ipcWorkDir |
| Working directory for external process. | |
| QString | ipcTransport |
| "stdio", "tcp", "shm", "file" | |
| MnaScript | script |
| Inline source code, interpreter, language. | |
| MnaVerification | verification |
| Explanation, checks, results, and provenance snapshot. | |
| QString | toolVersion |
| Version of tool that last executed this node. | |
| QDateTime | executedAt |
| Timestamp of last execution. | |
| bool | dirty = true |
| Whether node needs re-execution. | |
| QJsonObject | extras |
| Unknown keys preserved for lossless round-trip. | |
Graph node representing a processing step.
One operation in the computational graph.
Definition at line 74 of file mna_node.h.
|
static |
Definition at line 246 of file mna_node.cpp.
|
static |
Definition at line 134 of file mna_node.cpp.
| QCborMap MnaNode::toCbor | ( | ) | const |
Definition at line 197 of file mna_node.cpp.
| QJsonObject MnaNode::toJson | ( | ) | const |
Definition at line 79 of file mna_node.cpp.
| QVariantMap MNALIB::MnaNode::attributes |
Operation parameters.
Definition at line 78 of file mna_node.h.
| bool MNALIB::MnaNode::dirty = true |
Whether node needs re-execution.
Definition at line 100 of file mna_node.h.
| MnaNodeExecMode MNALIB::MnaNode::execMode = MnaNodeExecMode::Batch |
Execution mode.
Definition at line 83 of file mna_node.h.
| QDateTime MNALIB::MnaNode::executedAt |
Timestamp of last execution.
Definition at line 99 of file mna_node.h.
| QJsonObject MNALIB::MnaNode::extras |
Unknown keys preserved for lossless round-trip.
Definition at line 101 of file mna_node.h.
| QString MNALIB::MnaNode::id |
Unique node identifier.
Definition at line 76 of file mna_node.h.
| QList<MnaPort> MNALIB::MnaNode::inputs |
Input ports.
Definition at line 80 of file mna_node.h.
| QStringList MNALIB::MnaNode::ipcArgs |
Command-line arguments (supports {{placeholder}} tokens).
Definition at line 87 of file mna_node.h.
| QString MNALIB::MnaNode::ipcCommand |
External executable command.
Definition at line 86 of file mna_node.h.
| QString MNALIB::MnaNode::ipcTransport |
"stdio", "tcp", "shm", "file"
Definition at line 89 of file mna_node.h.
| QString MNALIB::MnaNode::ipcWorkDir |
Working directory for external process.
Definition at line 88 of file mna_node.h.
| QString MNALIB::MnaNode::opType |
Operation type (looked up in MnaOpRegistry).
Definition at line 77 of file mna_node.h.
| QList<MnaPort> MNALIB::MnaNode::outputs |
Output ports.
Definition at line 81 of file mna_node.h.
| MnaScript MNALIB::MnaNode::script |
Inline source code, interpreter, language.
Definition at line 92 of file mna_node.h.
| QString MNALIB::MnaNode::toolVersion |
Version of tool that last executed this node.
Definition at line 98 of file mna_node.h.
| MnaVerification MNALIB::MnaNode::verification |
Explanation, checks, results, and provenance snapshot.
Definition at line 95 of file mna_node.h.