Mantid
Loading...
Searching...
No Matches
Typedefs | Functions
WorkspaceCreationHelper::impl Namespace Reference

Typedefs

using Histogram_sptr = std::shared_ptr< Histogram >
 
template<typename... Args>
using HistogramFunc = std::function< Histogram_sptr(Args...)>
 

Functions

template<typename... Args>
Histogram_sptr call_function (HistogramFunc< Args... > f, std::tuple< Args... > args)
 
template<typename... Args, std::size_t... I>
Histogram_sptr call_function_impl (HistogramFunc< Args... > f, std::tuple< Args... > args, std::index_sequence< I... >)
 

Typedef Documentation

◆ Histogram_sptr

using WorkspaceCreationHelper::impl::Histogram_sptr = typedef std::shared_ptr<Histogram>

Definition at line 28 of file WorkspaceCreationHelper.hxx.

◆ HistogramFunc

template<typename... Args>
using WorkspaceCreationHelper::impl::HistogramFunc = typedef std::function<Histogram_sptr(Args...)>

Definition at line 30 of file WorkspaceCreationHelper.hxx.

Function Documentation

◆ call_function()

template<typename... Args>
Histogram_sptr WorkspaceCreationHelper::impl::call_function ( HistogramFunc< Args... >  f,
std::tuple< Args... >  args 
)

◆ call_function_impl()

template<typename... Args, std::size_t... I>
Histogram_sptr WorkspaceCreationHelper::impl::call_function_impl ( HistogramFunc< Args... >  f,
std::tuple< Args... >  args,
std::index_sequence< I... >   
)

Definition at line 33 of file WorkspaceCreationHelper.hxx.

Referenced by call_function().