BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 23 of file Lattice2DItemCatalog.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = Lattice2DItem |
enum class | Type : uint8_t { Basic = 1 , Square = 2 , Hexagonal } |
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 25 of file Lattice2DItemCatalog.h.
|
strong |
Enumerator | |
---|---|
Basic | |
Square | |
Hexagonal |
Definition at line 28 of file Lattice2DItemCatalog.h.
|
static |
Creates the item of the given type.
Definition at line 19 of file Lattice2DItemCatalog.cpp.
References Basic, Hexagonal, Square, and type().
|
static |
Returns the enum type of the given item.
Definition at line 52 of file Lattice2DItemCatalog.cpp.
|
static |
List of available types, sorted as expected in the UI.
Definition at line 33 of file Lattice2DItemCatalog.cpp.
|
static |