#include <mna_session.h>
Public Member Functions | |
| QJsonObject | toJson () const |
| QCborMap | toCbor () const |
Static Public Member Functions | |
| static MnaSession | fromJson (const QJsonObject &json) |
| static MnaSession | fromCbor (const QCborMap &cbor) |
Public Attributes | |
| QString | id |
| QList< MnaRecording > | recordings |
| QJsonObject | extras |
Groups recordings belonging to one measurement session.
Definition at line 60 of file mna_session.h.
|
static |
Deserialize from QCborMap.
| [in] | cbor | CBOR map as produced by toCbor(). |
Definition at line 93 of file mna_session.cpp.
|
static |
Deserialize from QJsonObject.
| [in] | json | JSON object as produced by toJson(). |
Definition at line 55 of file mna_session.cpp.
| QCborMap MnaSession::toCbor | ( | ) | const |
Serialize to QCborMap.
Definition at line 77 of file mna_session.cpp.
| QJsonObject MnaSession::toJson | ( | ) | const |
Serialize to QJsonObject.
Definition at line 39 of file mna_session.cpp.
| QJsonObject MNALIB::MnaSession::extras |
Unknown keys preserved for lossless round-trip.
Definition at line 64 of file mna_session.h.
| QString MNALIB::MnaSession::id |
Session identifier.
Definition at line 62 of file mna_session.h.
| QList<MnaRecording> MNALIB::MnaSession::recordings |
Recordings in this session.
Definition at line 63 of file mna_session.h.