v2.0.0
Loading...
Searching...
No Matches
mna_recording.h
Go to the documentation of this file.
1//=============================================================================================================
28
29#ifndef MNA_RECORDING_H
30#define MNA_RECORDING_H
31
32//=============================================================================================================
33// INCLUDES
34//=============================================================================================================
35
36#include "mna_global.h"
37#include "mna_file_ref.h"
38
39//=============================================================================================================
40// QT INCLUDES
41//=============================================================================================================
42
43#include <QString>
44#include <QList>
45#include <QJsonObject>
46#include <QCborMap>
47#include <QSet>
48
49//=============================================================================================================
50// DEFINE NAMESPACE MNALIB
51//=============================================================================================================
52
53namespace MNALIB{
54
55//=============================================================================================================
60{
61 QString id;
62 QList<MnaFileRef> files;
63 QJsonObject extras;
64
65 //=========================================================================================================
69 QJsonObject toJson() const;
70
71 //=========================================================================================================
75 static MnaRecording fromJson(const QJsonObject& json);
76
77 //=========================================================================================================
81 QCborMap toCbor() const;
82
83 //=========================================================================================================
87 static MnaRecording fromCbor(const QCborMap& cbor);
88};
89
90} // namespace MNALIB
91
92#endif // MNA_RECORDING_H
Reference to a file inside an MNA project — relative path, semantic role, SHA-256 hash,...
Export/import macros, build-info accessors, and MNALIB namespace anchor for the MNE Analysis Containe...
#define MNASHARED_EXPORT
Definition mna_global.h:47
MNE Analysis Container Format (mna/mnx).
static MnaRecording fromJson(const QJsonObject &json)
static MnaRecording fromCbor(const QCborMap &cbor)
QCborMap toCbor() const
QJsonObject toJson() const
QList< MnaFileRef > files