v2.0.0
Loading...
Searching...
No Matches
mna_param_binding.cpp File Reference

JSON and CBOR codecs for MnaParamBinding — target path, expression, trigger, period and dependency list. More...

#include "mna_param_binding.h"
#include <QJsonArray>
#include <QCborArray>
Include dependency graph for mna_param_binding.cpp:

Go to the source code of this file.

Detailed Description

JSON and CBOR codecs for MnaParamBinding — target path, expression, trigger, period and dependency list.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

The implementation is a straightforward field-for-field codec pair that keeps the expression body unchanged so future evaluators with extended grammar can still consume bindings written by this build. The dependencies list is written explicitly (rather than re-derived from expression) so the MnaParamTree triggering logic can avoid parsing formulas at every check, and unknown fields round-trip through the standard extras pattern.

Definition in file mna_param_binding.cpp.