MGIS 3.1.0
Loading...
Searching...
No Matches
EvaluatorModifierBase.hxx File Reference

File which defines the EvaluatorModifierBase class, a helper base class used to build a new evaluator by applying a modifier to the values returned by an existing evaluator. More...

Classes

struct  mgis::function::EvaluatorModifierBase< Child, EvaluatorType >
 a base class to construct a new evaluator by applying a modifier to the values returned by an existing evaluator More...

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.

Functions

template<typename Child, EvaluatorConcept EvaluatorType>
constexpr decltype(auto) mgis::function::getSpace (const EvaluatorModifierBase< Child, EvaluatorType > &)
 return the underlying space
template<typename Child, EvaluatorConcept EvaluatorType>
constexpr bool mgis::function::check (AbstractErrorHandler &, const EvaluatorModifierBase< Child, EvaluatorType > &)
 perform consistency checks

Detailed Description

File which defines the EvaluatorModifierBase class, a helper base class used to build a new evaluator by applying a modifier to the values returned by an existing evaluator.

Author
Thomas Helfer
Date
07/05/2025

Function Documentation

◆ check()

template<typename Child, EvaluatorConcept EvaluatorType>
bool mgis::function::check ( AbstractErrorHandler & eh,
const EvaluatorModifierBase< Child, EvaluatorType > & e )
nodiscardconstexpr

perform consistency checks

Template Parameters
Childtype of the derived class
EvaluatorTypetype of the modified evaluator
Parameters
[in]eherror handler used to report the errors
[in]eevaluator modifier
Returns
true if the values computed by the modifier are valid

◆ getSpace()

template<typename Child, EvaluatorConcept EvaluatorType>
decltype(auto) mgis::function::getSpace ( const EvaluatorModifierBase< Child, EvaluatorType > & e)
nodiscardconstexpr

return the underlying space

Template Parameters
Childtype of the derived class
EvaluatorTypetype of the modified evaluator
Parameters
[in]eevaluator modifier
Returns
the space on which the modifier is defined