15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_SERIALIZATION_JSONMODELCONVERTER_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_SERIALIZATION_JSONMODELCONVERTER_H
35 QJsonObject to_json(
const SessionModel& model)
const override;
38 void from_json(
const QJsonObject& json,
SessionModel& model)
const override;
Base class for all converters of SessionModel to/from json object.
Converter of SessionModel to/from json object with posibility to select one of convertion modes.
~JsonModelConverter() override
Main class to hold hierarchy of SessionItem objects.
materialitems.h Collection of materials to populate MaterialModel.
ConverterMode
Flags to define converter behavior on the way from SessionItem to JSON and back.