BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 25 of file ResolutionFunctionItemCatalog.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = ResolutionFunctionItem |
enum class | Type : uint8_t { None = 0 , Gaussian = 1 } |
Static Public Member Functions | |
static ResolutionFunctionItem * | create (Type type, const std::variant< QString, Unit > &unit=Unit::unitless) |
Creates the item of the given type. More... | |
static Type | type (const ResolutionFunctionItem *item) |
Returns the enum type of the given item. More... | |
static QVector< Type > | types () |
Available types of items. More... | |
static UiInfo | uiInfo (Type t) |
UiInfo on the given type. More... | |
Definition at line 27 of file ResolutionFunctionItemCatalog.h.
|
strong |
|
static |
Creates the item of the given type.
Definition at line 20 of file ResolutionFunctionItemCatalog.cpp.
References Gaussian, None, and type().
|
static |
Returns the enum type of the given item.
Definition at line 54 of file ResolutionFunctionItemCatalog.cpp.
|
static |
Available types of items.
This list is sorted as expected in the UI (e.g. in combo box)
Definition at line 37 of file ResolutionFunctionItemCatalog.cpp.
|
static |