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

JSON and CBOR codecs for MnaProject plus read / write thin façades that delegate to MnaIO. More...

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

Go to the source code of this file.

Detailed Description

JSON and CBOR codecs for MnaProject plus read / write thin façades that delegate to MnaIO.

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 serialises the project metadata (name, description, mnaVersion, creation/modification timestamps) followed by the MnaSubject list and the MnaNode pipeline. The mnaVersion field is written from MnaProject::CURRENT_SCHEMA_VERSION so older readers can refuse projects from a future schema, while extras carries forward-compatible additions through the round-trip without loss.

Definition in file mna_project.cpp.