BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines class CLASS? More...
Go to the source code of this file.
Classes | |
struct | ModelView::Utils::is_unique_ptr< T > |
struct | ModelView::Utils::is_unique_ptr< std::unique_ptr< T, D > > |
Namespaces | |
ModelView | |
materialitems.h Collection of materials to populate MaterialModel. | |
ModelView::Utils | |
Collection of various widget-related utils. | |
Functions | |
template<typename It , typename UnaryFunction > | |
std::vector< double > | ModelView::Utils::Apply (It begin, It end, UnaryFunction func) |
Returns vector containing results of elemntwise unary function application. More... | |
template<typename A , typename B > | |
bool | ModelView::Utils::Contains (const A &container, const B &element) |
Returns true if container contains a given element. More... | |
template<typename C > | |
std::vector< double > | ModelView::Utils::Imag (const C &container) |
Returns vector with imag part of complex numbers. More... | |
template<typename C , typename T > | |
int | ModelView::Utils::IndexOfItem (const C &container, const T &item) |
Returns index corresponding to the first occurance of the item in the container. More... | |
template<typename It , typename T > | |
int | ModelView::Utils::IndexOfItem (It begin, It end, const T &item) |
Returns index corresponding to the first occurance of the item in the container. More... | |
template<typename C > | |
std::vector< double > | ModelView::Utils::Real (const C &container) |
Returns vector with real part of complex numbers. More... | |
template<typename C > | |
C | ModelView::Utils::UniqueWithOrder (const C &container) |
Returns copy of container with all duplicated elements filtered our. The order is preserved. More... | |
Defines class CLASS?
Definition in file containerutils.h.