BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
jsonitem_types.h File Reference

Defines class CLASS? More...

Include dependency graph for jsonitem_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ModelView::ConverterCallbacks
 Provides necessary callbacks to convert SessionItem to JSON and back. More...
 
struct  ModelView::ConverterContext
 Collection of input paramters for SessionItemConverter. More...
 

Namespaces

 ModelView
 materialitems.h Collection of materials to populate MaterialModel.
 

Enumerations

enum class  ModelView::ConverterMode { ModelView::none , ModelView::clone , ModelView::copy , ModelView::project }
 Flags to define converter behavior on the way from SessionItem to JSON and back. More...
 

Functions

bool ModelView::isRebuildItemDataAndTagFromJson (ConverterMode mode)
 Returns true if item content should be reconstructed from JSON. More...
 
bool ModelView::isRegenerateIdWhenBackFromJson (ConverterMode mode)
 Returns true if given mode requires ID regeneration instead of using the one stored in JSON. More...
 

Detailed Description

Defines class CLASS?

Collection of custom types involved into SessionItem and JSON mutual convertion.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file jsonitem_types.h.