15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_MODEL_FUNCTION_TYPES_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_MODEL_FUNCTION_TYPES_H
31 return []() {
return std::make_unique<T>(); };
materialitems.h Collection of materials to populate MaterialModel.
std::function< std::unique_ptr< SessionItem >()> item_factory_func_t
Definition for item factory funciton.
item_factory_func_t ItemFactoryFunction()
Creates factory function for item of specific type.