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

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

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

Go to the source code of this file.

Detailed Description

JSON and CBOR codecs for MnaSession — ordered MnaRecording 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

Implementation mirrors the rest of the project tree: each recording is serialised through MnaRecording::toJson / toCbor, ordering is preserved to keep run numbering stable, and any unknown sidecar metadata supplied by newer tooling is captured into extras on read and re-emitted on write so the round-trip stays lossless across MNALIB versions.

Definition in file mna_session.cpp.