v2.0.0
Loading...
Searching...
No Matches
mna_recording.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef MNA_RECORDING_H
36#define MNA_RECORDING_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "mna_global.h"
43#include "mna_file_ref.h"
44
45//=============================================================================================================
46// QT INCLUDES
47//=============================================================================================================
48
49#include <QString>
50#include <QList>
51#include <QJsonObject>
52#include <QCborMap>
53#include <QSet>
54
55//=============================================================================================================
56// DEFINE NAMESPACE MNALIB
57//=============================================================================================================
58
59namespace MNALIB{
60
61//=============================================================================================================
66{
67 QString id;
68 QList<MnaFileRef> files;
69 QJsonObject extras;
70
71 //=========================================================================================================
75 QJsonObject toJson() const;
76
77 //=========================================================================================================
81 static MnaRecording fromJson(const QJsonObject& json);
82
83 //=========================================================================================================
87 QCborMap toCbor() const;
88
89 //=========================================================================================================
93 static MnaRecording fromCbor(const QCborMap& cbor);
94};
95
96} // namespace MNALIB
97
98#endif // MNA_RECORDING_H
MnaFileRef class declaration.
mna library export/import macros.
#define MNASHARED_EXPORT
Definition mna_global.h:55
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