MGIS 3.1.0
Loading...
Searching...
No Matches
BinaryOperationEvaluatorBase.ixx File Reference

Implementation of the BinaryOperationEvaluatorBase class declared in MGIS/Function/BinaryOperationEvaluatorBase.hxx. More...

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.

Functions

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

Detailed Description

Implementation of the BinaryOperationEvaluatorBase class declared in MGIS/Function/BinaryOperationEvaluatorBase.hxx.

Author
Thomas Helfer
Date
07/05/2025

Function Documentation

◆ check()

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

perform consistency checks

forwards the call to the check member function

Template Parameters
Childtype of the class deriving from this base class
FirstEvaluatorTypeevaluator used to compute the first argument of the binary operation
SecondEvaluatorTypeevaluator used to compute the second argument of the binary operation
Parameters
[in]eherror handler used to report the errors
[in]eevaluator of the result of the binary operation
Returns
true if the values computed by the evaluator are valid

◆ getSpace()

template<typename Child, EvaluatorConcept FirstEvaluatorType, EvaluatorConcept SecondEvaluatorType>
decltype(auto) mgis::function::getSpace ( const BinaryOperationEvaluatorBase< Child, FirstEvaluatorType, SecondEvaluatorType > & e)
nodiscardconstexpr

return the underlying space

forwards the call to the getSpace member function

Template Parameters
Childtype of the class deriving from this base class
FirstEvaluatorTypeevaluator used to compute the first argument of the binary operation
SecondEvaluatorTypeevaluator used to compute the second argument of the binary operation
Parameters
[in]eevaluator of the result of the binary operation
Returns
the space on which the two evaluators are defined