BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 23 of file InstrumentItemCatalog.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = InstrumentItem |
enum class | Type : uint8_t { GISAS = 0 , Offspec = 1 , Specular = 2 , DepthProbe = 3 } |
Static Public Member Functions | |
static InstrumentItem * | create (Type type) |
Creates the item of the given type. More... | |
static Type | type (const InstrumentItem *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 25 of file InstrumentItemCatalog.h.
|
strong |
Enumerator | |
---|---|
GISAS | |
Offspec | |
Specular | |
DepthProbe |
Definition at line 28 of file InstrumentItemCatalog.h.
|
static |
Creates the item of the given type.
Definition at line 19 of file InstrumentItemCatalog.cpp.
References DepthProbe, GISAS, Offspec, Specular, and type().
Referenced by InstrumentItem::createCopy().
|
static |
Returns the enum type of the given item.
Definition at line 54 of file InstrumentItemCatalog.cpp.
References DepthProbe, GISAS, Offspec, and Specular.
Referenced by create(), InstrumentItem::createCopy(), and uiInfo().
|
static |
Available types of items.
Definition at line 34 of file InstrumentItemCatalog.cpp.
References DepthProbe, GISAS, Offspec, and Specular.
|
static |
UiInfo on the given type.
Definition at line 39 of file InstrumentItemCatalog.cpp.
References DepthProbe, GISAS, Offspec, Specular, and type().