BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 57 of file ProfileItemCatalogs.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = Profile2DItem |
enum class | Type : uint8_t { Cauchy = 1 , Gauss = 2 , Gate = 3 , Cone = 4 , Voigt = 5 } |
Static Public Member Functions | |
static CatalogedType * | create (Type type) |
Creates the item of the given type. More... | |
static Type | type (const CatalogedType *item) |
Returns the enum type of the given item. More... | |
static QVector< Type > | types () |
List of available types, sorted as expected in the UI. More... | |
static UiInfo | uiInfo (Type t) |
UiInfo on the given type. More... | |
Definition at line 59 of file ProfileItemCatalogs.h.
|
strong |
|
static |
Creates the item of the given type.
Definition at line 85 of file ProfileItemCatalogs.cpp.
References Cauchy, Cone, Gate, Gauss, type(), and Voigt.
|
static |
Returns the enum type of the given item.
Definition at line 126 of file ProfileItemCatalogs.cpp.
References Cauchy, Cone, Gate, Gauss, and Voigt.
Referenced by ParameterTreeBuilder::addInterference(), create(), and uiInfo().
|
static |
List of available types, sorted as expected in the UI.
Definition at line 103 of file ProfileItemCatalogs.cpp.
|
static |