BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelView::JsonVariantConverterInterface Class Referenceabstract

Base class for all supported converters of Variant to/from json object. More...

Inheritance diagram for ModelView::JsonVariantConverterInterface:
[legend]

Public Member Functions

virtual ~JsonVariantConverterInterface ()=default
 
virtual QJsonObject get_json (const Variant &)=0
 
virtual Variant get_variant (const QJsonObject &)=0
 

Detailed Description

Base class for all supported converters of Variant to/from json object.

Definition at line 27 of file jsonvariantconverterinterface.h.

Constructor & Destructor Documentation

◆ ~JsonVariantConverterInterface()

virtual ModelView::JsonVariantConverterInterface::~JsonVariantConverterInterface ( )
virtualdefault

Member Function Documentation

◆ get_json()

virtual QJsonObject ModelView::JsonVariantConverterInterface::get_json ( const Variant )
pure virtual

◆ get_variant()

virtual Variant ModelView::JsonVariantConverterInterface::get_variant ( const QJsonObject &  )
pure virtual

The documentation for this class was generated from the following file: