v2.0.0
Loading...
Searching...
No Matches
MNALIB::MnaSession Struct Reference

#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< MnaRecordingrecordings
QJsonObject extras

Detailed Description

Groups recordings belonging to one measurement session.

Definition at line 65 of file mna_session.h.

Member Function Documentation

◆ fromCbor()

MnaSession MnaSession::fromCbor ( const QCborMap & cbor)
static

Deserialize from QCborMap.

Definition at line 109 of file mna_session.cpp.

◆ fromJson()

MnaSession MnaSession::fromJson ( const QJsonObject & json)
static

Deserialize from QJsonObject.

Definition at line 70 of file mna_session.cpp.

◆ toCbor()

QCborMap MnaSession::toCbor ( ) const

Serialize to QCborMap.

Definition at line 93 of file mna_session.cpp.

◆ toJson()

QJsonObject MnaSession::toJson ( ) const

Serialize to QJsonObject.

Definition at line 54 of file mna_session.cpp.

Member Data Documentation

◆ extras

QJsonObject MNALIB::MnaSession::extras

Unknown keys preserved for lossless round-trip.

Definition at line 69 of file mna_session.h.

◆ id

QString MNALIB::MnaSession::id

Session identifier.

Definition at line 67 of file mna_session.h.

◆ recordings

QList<MnaRecording> MNALIB::MnaSession::recordings

Recordings in this session.

Definition at line 68 of file mna_session.h.


The documentation for this struct was generated from the following files: