|
MGIS 3.1.0
|
a class meant to group modifiers, allowing modifiers composability More...
#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/EvaluatorModifierConcept.hxx>
Public Types | |
| using | Tag = EvaluatorModifierTag |
| this alias allows to match the Evaluator Modifier concept | |
Public Member Functions | |
| constexpr | EvaluatorModifiersGroup (Ms... ms) |
| constructor from an explicit list of modifiers | |
| constexpr | EvaluatorModifiersGroup (std::tuple< Ms... > g) |
| constructor from a tuple of modifiers | |
| constexpr auto | operator() (const EvaluatorConcept auto &e) const |
| call operator applying each modifier of the group | |
Public Attributes | |
| const std::tuple< Ms... > | group |
| list of the grouped modifiers | |
a class meant to group modifiers, allowing modifiers composability
The modifiers are applied from left to right: the first modifier of the group is applied to the evaluator, the second one to the resulting evaluator, and so on.
| Ms | types of the grouped modifiers, at least one |
|
inlineconstexpr |
constructor from an explicit list of modifiers
| [in] | ms | modifiers, which are applied from left to right |
|
inlineconstexpr |
constructor from a tuple of modifiers
| [in] | g | tuple of modifiers, which is applied from left to right |
|
inlineconstexpr |
call operator applying each modifier of the group
| [in] | e | evaluator the modifiers of the group are applied to |