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

JSON and CBOR codecs for MnaRecording — ordered MnaFileRef list plus opaque id and forward-compatible extras. More...

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

Go to the source code of this file.

Detailed Description

JSON and CBOR codecs for MnaRecording — ordered MnaFileRef list plus opaque id and forward-compatible extras.

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 defers to MnaFileRef::toJson and the matching fromCbor for each file entry, preserving order so the first MnaFileRole::Raw element keeps its conventional meaning as the canonical recording artefact. Unknown keys are routed through extras on read/write so newer fields added by tooling round-trip cleanly through this build.

Definition in file mna_recording.cpp.