msl 1.3.0
Loading...
Searching...
No Matches
FlexibleFunction.h File Reference

Go to the source code of this file.

Classes

class  msl::graph::FlexibleFunctionAdapter< T >
 Adapt a FlexibleFunction to its nominal form. More...
 

Namespaces

namespace  msl
 Top-level namespace of the msl library.
 
namespace  msl::graph
 Graph-related objects and functions.
 

Typedefs

template<typename T >
using msl::graph::FlexibleFunction = boost::variant< std::function< T()>, std::function< T(Dictionary::Pointer)>, std::function< T(MrProt &)>, std::function< T(MrProt &, Dictionary::Pointer)>, std::function< T(MrProt &, SeqLim &, SeqExpo &)>, std::function< T(MrProt &, SeqLim &, SeqExpo &, Dictionary::Pointer)> >
 A graph function (e.g. Case or If), with flexible arguments.
 

Functions

template<typename T >
std::function< T(MrProt &, SeqLim &, SeqExpo &, Dictionary::Pointer)> msl::graph::function_adapter (FlexibleFunction< T > const &f)
 Adapt a FlexibleFunction to its nominal form.