BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Base class for all converters of SessionItem to/from JSON object. More...
Public Member Functions | |
virtual | ~JsonItemConverterInterface ()=default |
virtual std::unique_ptr< SessionItem > | from_json (const QJsonObject &) const =0 |
Creates item from JSON. More... | |
virtual QJsonObject | to_json (const SessionItem *item) const =0 |
Converts item to JSON. More... | |
Base class for all converters of SessionItem to/from JSON object.
Definition at line 29 of file jsonitemconverterinterface.h.
|
virtualdefault |
|
pure virtual |
Creates item from JSON.
Implemented in ModelView::JsonItemConverter.
|
pure virtual |
Converts item to JSON.
Implemented in ModelView::JsonItemConverter.